Skip to content

Commit f184013

Browse files
scottmayhewgregkh
authored andcommitted
nfs: add missing "posix" local_lock constant table definition
[ Upstream commit a2d24bc ] "mount -o local_lock=posix..." was broken by the mount API conversion due to the missing constant. Fixes: e38bb23 ("NFS: Convert mount option parsing to use functionality from fs_parser.h") Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f02daaa commit f184013

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/nfs/fs_context.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ enum {
9494
static const struct constant_table nfs_param_enums_local_lock[] = {
9595
{ "all", Opt_local_lock_all },
9696
{ "flock", Opt_local_lock_flock },
97+
{ "posix", Opt_local_lock_posix },
9798
{ "none", Opt_local_lock_none },
9899
{}
99100
};

0 commit comments

Comments
 (0)