]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ca5b643972366733da63b779d9f816f1bef2325
treef35bf723b02d6fe8c101252aa4a2c0e0172fd4aa
parentd25a84f774f32e90655b69788a0f46970ba33a2e
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