diff options
author | Scott Mayhew <smayhew@redhat.com> | 2020-10-10 10:03:12 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-10-12 13:23:14 -0400 |
commit | a2d24bcb97dc7b0be1cb891e60ae133bdf36c786 (patch) | |
tree | 825775a938becde8aa173b108ff18a448ec749c4 /fs/nfs | |
parent | 39d43d164127da7fbc62d0ef73146e04e31a828d (diff) | |
download | linux-a2d24bcb97dc7b0be1cb891e60ae133bdf36c786.tar.gz linux-a2d24bcb97dc7b0be1cb891e60ae133bdf36c786.tar.bz2 linux-a2d24bcb97dc7b0be1cb891e60ae133bdf36c786.zip |
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 <smayhew@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/fs_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c index 524812984e2d..009987e69020 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 }, {} }; |