ext4: Fix error code in ext4_xattr_set_entry()
authorDaniel Rosenberg <drosen@google.com>
Mon, 15 Oct 2018 22:10:52 +0000 (15:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:20 +0000 (09:13 +0200)
commita295ff4bff4c41823e7b33078d8164805cebdda4
tree7f4de4e0dbcbf604ae06da8c533027e555b179b2
parent5b48d1a8ccaddc78dd916435ec1a00c67e83628e
ext4: Fix error code in ext4_xattr_set_entry()

ext4_xattr_set_entry should return EFSCORRUPTED instead of EIO
for corrupted xattr entries.

Fixes b469713e0c0c ("ext4: add corruption check in ext4_xattr_set_entry()")

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c