diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-03 19:05:48 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 14:34:22 -0400 |
commit | 533770cc0ae84890624dc129609f3d75855c8982 (patch) | |
tree | efaf0d5823cd49d62baa600422d497db6fc0fa04 /ipc | |
parent | 1dd9bc08cf1420d466dd8dcfcc233777e61ca5d2 (diff) | |
download | lwn-533770cc0ae84890624dc129609f3d75855c8982.tar.gz lwn-533770cc0ae84890624dc129609f3d75855c8982.zip |
new helper: get_tree_keyed()
For vfs_get_keyed_super users.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 7a5a8edc3de3..7c15729d9d25 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -364,8 +364,7 @@ static int mqueue_get_tree(struct fs_context *fc) { struct mqueue_fs_context *ctx = fc->fs_private; - fc->s_fs_info = ctx->ipc_ns; - return vfs_get_super(fc, vfs_get_keyed_super, mqueue_fill_super); + return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); } static void mqueue_fs_context_free(struct fs_context *fc) |