Skip to contentSkip to conversation

nfs: add missing "posix" local_lock constant table definition

PATCH New Scott Mayhew 1 participant 1 message Oct 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 fs/nfs/fs_context.c | 1 +
 1 file changed, 1 insertion(+)
fs/nfs/fs_context.c +1 -0
index 524812984e2d..009987e69020 100644
@@ -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 },
 	{}
 };
Signature · 1 line
2.26.2