aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs_parser.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-20 23:52:55 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 14:48:34 -0500
commit7f5d38141e309bb4ba995d9726928af85a299c50 (patch)
tree06400fc56ab3282c8a137b8655d1dba7eb5925d5 /include/linux/fs_parser.h
parentswitch rbd and libceph to p_log-based primitives (diff)
downloadlinux-dev-7f5d38141e309bb4ba995d9726928af85a299c50.tar.xz
linux-dev-7f5d38141e309bb4ba995d9726928af85a299c50.zip
new primitive: __fs_parse()
fs_parse() analogue taking p_log instead of fs_context. fs_parse() turned into a wrapper, callers in ceph_common and rbd switched to __fs_parse(). As the result, fs_parse() never gets NULL fs_context and neither do fs_context-based logging primitives Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs_parser.h')
-rw-r--r--include/linux/fs_parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index 14bdaacf1218..b0fba26a4ffe 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -74,6 +74,10 @@ struct fs_parse_result {
};
};
+extern int __fs_parse(struct p_log *log,
+ const struct fs_parameter_description *desc,
+ struct fs_parameter *value,
+ struct fs_parse_result *result);
extern int fs_parse(struct fs_context *fc,
const struct fs_parameter_description *desc,
struct fs_parameter *value,