nilfs2: get rid of sget use for checking if current mount is present
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 7 Jun 2009 16:39:30 +0000 (01:39 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:17 +0000 (21:36 -0400)
commit3f82ff55168e92859119bf348e9e0bd6714d2fea
treef35bf723b02d6fe8c101252aa4a2c0e0172fd4aa
parent33c8e57c86d1bd1548c12a4f7c4bceb94b862cca
nilfs2: get rid of sget use for checking if current mount is present

This stops using sget() for checking if an r/w-mount or an r/o-mount
exists on the device.  This elimination uses a back pointer to the
current mount added to nilfs object.

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>
fs/nilfs2/super.c
fs/nilfs2/the_nilfs.h