ext4: fix ext4_xattr_cmp()
authorTahsin Erdogan <tahsin@google.com>
Thu, 22 Jun 2017 02:14:30 +0000 (22:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jun 2017 02:14:30 +0000 (22:14 -0400)
commit7cec191894e4e2200d942415c3ebccb146214d26
tree3d8bed994b49acd4e9afa0e69e3ac4321e1e2670
parentf6109100ba8692c677cfdc88af1887a43263e63a
ext4: fix ext4_xattr_cmp()

When a xattr entry refers to an external inode, the value data is not
available in the inline area so we should not attempt to read it using
value offset.

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c