diff options
author | 2009-06-08 01:39:31 +0900 | |
---|---|---|
committer | 2009-06-11 21:36:18 -0400 | |
commit | 6dd4740662405a68bb229ac2b9e0aeaaf2188bf2 (patch) | |
tree | 36e6ae2a095613be1c36e8828ee9471e60c09de6 /include/linux/moduleparam.h | |
parent | nilfs2: get rid of sget use for checking if current mount is present (diff) | |
download | wireguard-linux-6dd4740662405a68bb229ac2b9e0aeaaf2188bf2.tar.xz wireguard-linux-6dd4740662405a68bb229ac2b9e0aeaaf2188bf2.zip |
nilfs2: simplify remaining sget() use
This simplifies the test function passed on the remaining sget()
callsite in nilfs.
Instead of checking mount type (i.e. ro-mount/rw-mount/snapshot mount)
in the test function passed to sget(), this patch first looks up the
nilfs_sb_info struct which the given mount type matches, and then
acquires the super block instance holding the nilfs_sb_info.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions