ext4: evict inline data out if we need to strore xattr in inode
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:06:02 +0000 (14:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:06:02 +0000 (14:06 -0500)
commit0d812f77b36c16dff692390508155de2c7f95ea3
tree18bf309f2e7a9fb6637ae8385a07f86eb5c05afd
parent941919856c11d4dd11d4fcabb4dab58bd2b146bf
ext4: evict inline data out if we need to strore xattr in inode

Now we that store data in the inode, in case we need to store some
xattrs and inode doesn't have enough space, Andreas suggested that we
should keep the xattr(metadata) in and data should be pushed out.  So
this patch does the work.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inline.c
fs/ext4/xattr.c
fs/ext4/xattr.h