ext4: factor out xattr moving
authorJan Kara <jack@suse.cz>
Mon, 29 Aug 2016 19:42:11 +0000 (15:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Aug 2016 19:42:11 +0000 (15:42 -0400)
commit3f2571c1f91f2de729562344b4956786a2c74d73
treec0cea783b582ec2741716741923ed677022c44eb
parent94405713889d4a9d341b4ad92956e4e2ec8ec2c2
ext4: factor out xattr moving

Factor out function for moving xattrs from inode into external xattr
block from ext4_expand_extra_isize_ea(). That function is already quite
long and factoring out this rather standalone functionality helps
readability.

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