From: Ryusuke Konishi Date: Sun, 7 Jun 2009 16:39:31 +0000 (+0900) Subject: nilfs2: simplify remaining sget() use X-Git-Tag: v2.6.31-rc1~375^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd4740662405a68bb229ac2b9e0aeaaf2188bf2;p=pandora-kernel.git 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 Cc: Al Viro Signed-off-by: Al Viro --- Reading git-diff-tree failed