ext4: Check that external xattr value block is zero
authorJan Kara <jack@suse.cz>
Mon, 29 Aug 2016 19:39:11 +0000 (15:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Aug 2016 19:39:11 +0000 (15:39 -0400)
commit2de58f1102cf1ac6091209e1dfa8eccbcb039570
tree065c26c641632243b85f4f2f59814534f06eda64
parente3014d14a81edde488d9a6758eea8afc41752d2d
ext4: Check that external xattr value block is zero

Currently we don't support xattrs with values stored out of line. Check
for that in ext4_xattr_check_names() to make sure we never work with
such xattrs since not all the code counts with that resulting is possible
weird corruption issues.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c