diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-10-29 06:28:24 +0100 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-10-29 06:28:24 +0100 |
commit | fb5cbe9efd741b16e72133613747f76490bbecd3 (patch) | |
tree | 014ef905e4c4ff708ad7dbceef445a2e0e567757 /fs/ocfs2/refcounttree.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus (diff) | |
download | linux-fb5cbe9efd741b16e72133613747f76490bbecd3.tar.xz linux-fb5cbe9efd741b16e72133613747f76490bbecd3.zip |
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 <joel.becker@oracle.com>
Reported-by: Laszlo Attila Toth <panther@balabit.hu>
Diffstat (limited to 'fs/ocfs2/refcounttree.c')
0 files changed, 0 insertions, 0 deletions