From: Ryusuke Konishi Date: Sun, 7 Jun 2009 16:39:28 +0000 (+0900) Subject: nilfs2: remove meaningless EBUSY case from nilfs_get_sb function X-Git-Tag: v2.6.31-rc1~375^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81fc20bd0e75ba6357bce2403767d7c2585d8f28;p=pandora-kernel.git nilfs2: remove meaningless EBUSY case from nilfs_get_sb function The following EBUSY case in nilfs_get_sb() is meaningless. Indeed, this error code is never returned to the caller. if (!s->s_root) { ... } else if (!(s->s_flags & MS_RDONLY)) { err = -EBUSY; } This simply removes the else case. Signed-off-by: Ryusuke Konishi Signed-off-by: Al Viro --- Reading git-diff-tree failed