Ryusuke Konishi 6dd4740662 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>
2009-06-11 21:36:18 -04:00
..
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:20 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:20 -07:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-06-11 21:36:18 -04:00
2009-04-07 08:31:15 -07:00
2009-06-11 21:36:18 -04:00