]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: let fallocate handle inline data correctly
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:06:03 +0000 (14:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:06:03 +0000 (14:06 -0500)
commitef46893cc69634b5661a1395c943b44e72343258
tree7db57d3b2926408bda5bad880896ee4ec384f398
parent2317d187a993f5468c3f65a26c0c0588dddd009c
ext4: let fallocate handle inline data correctly

If we are punching hole in a file, we will return ENOTSUPP.
As for the fallocation of some extents, we will convert the
inline data to a normal extent based file first.

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