From: Ryusuke Konishi Date: Sun, 7 Jun 2009 16:39:29 +0000 (+0900) Subject: nilfs2: get rid of sget use for acquiring nilfs object X-Git-Tag: v2.6.31-rc1~375^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33c8e57c86d1bd1548c12a4f7c4bceb94b862cca;p=pandora-kernel.git 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 Cc: Al Viro Signed-off-by: Al Viro --- Reading git-diff-tree failed