summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-06-07 18:39:29 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-12 03:36:17 +0200
commit33c8e57c86d1bd1548c12a4f7c4bceb94b862cca (patch)
tree8e2052a81dc1036e64d78da1082ab6af01ae4bbd /block
parentnilfs2: remove meaningless EBUSY case from nilfs_get_sb function (diff)
downloadlinux-33c8e57c86d1bd1548c12a4f7c4bceb94b862cca.tar.xz
linux-33c8e57c86d1bd1548c12a4f7c4bceb94b862cca.zip
nilfs2: get rid of sget use for acquiring nilfs object
This will change the way to obtain nilfs object in nilfs_get_sb() function. Previously, a preliminary sget() call was performed, and the nilfs object was acquired from a super block instance found by the sget() call. This patch, instead, instroduces a new dedicated function find_or_create_nilfs(); as the name implies, the function finds an existent nilfs object from a global list or creates a new one if no object is found on the device. 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 'block')
0 files changed, 0 insertions, 0 deletions