From: Joel Becker Date: Thu, 29 Oct 2009 05:28:24 +0000 (-0700) Subject: ocfs2: Return -EINVAL when a device is not ocfs2. X-Git-Tag: v2.6.32~62^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5cbe9efd741b16e72133613747f76490bbecd3;p=pandora-kernel.git ocfs2: Return -EINVAL when a device is not ocfs2. In case of non-modular kernels the root filesystem is mounted by trying several filesystems. If ocfs2 was tried before the actual filesystem type, the mount would fail because ocfs2_sb_probe() returns -EAGAIN instead of -EINVAL. ocfs2 will now return -EINVAL properly. Signed-off-by: Joel Becker Reported-by: Laszlo Attila Toth --- Reading git-diff-tree failed