Skip to content
Commit fb5cbe9e authored by Joel Becker's avatar Joel Becker
Browse files

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: default avatarJoel Becker <joel.becker@oracle.com>
Reported-by: default avatarLaszlo Attila Toth <panther@balabit.hu>
parent 964fe080
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment