From: Scott Mayhew Date: Sat, 10 Oct 2020 14:03:12 +0000 (-0400) Subject: nfs: add missing "posix" local_lock constant table definition X-Git-Tag: v5.10-rc1~70^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2d24bcb97dc7b0be1cb891e60ae133bdf36c786;p=thirdparty%2Flinux.git nfs: add missing "posix" local_lock constant table definition "mount -o local_lock=posix..." was broken by the mount API conversion due to the missing constant. Fixes: e38bb238ed8c ("NFS: Convert mount option parsing to use functionality from fs_parser.h") Signed-off-by: Scott Mayhew Signed-off-by: Anna Schumaker --- diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c index 524812984e2d4..009987e690207 100644 --- a/fs/nfs/fs_context.c +++ b/fs/nfs/fs_context.c @@ -94,6 +94,7 @@ enum { static const struct constant_table nfs_param_enums_local_lock[] = { { "all", Opt_local_lock_all }, { "flock", Opt_local_lock_flock }, + { "posix", Opt_local_lock_posix }, { "none", Opt_local_lock_none }, {} };