ext4: fix ext4_xattr_move_to_block()
authorTahsin Erdogan <tahsin@google.com>
Thu, 22 Jun 2017 02:11:54 +0000 (22:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jun 2017 02:11:54 +0000 (22:11 -0400)
commitf6109100ba8692c677cfdc88af1887a43263e63a
treea83af0e1c279216db190a4e5733bc0c5b2a69d5e
parent9bb21cedda7cd69789e1f93d7d918f5ca48ba165
ext4: fix ext4_xattr_move_to_block()

When moving xattr entries from inline area to a xattr block, entries
that refer to external xattr inodes need special handling because
value data is not available in the inline area but rather should be
read from its external inode.

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