]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Don't return -EFAULT from a corrupt xattr entry.
authorJoel Becker <joel.becker@oracle.com>
Tue, 21 Oct 2008 01:24:03 +0000 (18:24 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 10 Nov 2008 17:51:45 +0000 (09:51 -0800)
commitb37c4d84e9d16fd5b6f31197f02ea0a112fc9e99
treec9a709970deb2dfdb2b4d9340f682e966da19b83
parentf6087fb799e097e7c9d912daa75701de9d62dc53
ocfs2: Don't return -EFAULT from a corrupt xattr entry.

If the xattr disk structures are corrupt, return -EIO, not -EFAULT.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c