ext4: fix ext_remove_space for punch_hole case
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 1 Oct 2012 03:03:50 +0000 (23:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Oct 2012 03:03:50 +0000 (23:03 -0400)
commit6f2080e64487b9963f9c6ff8a252e1abce98f2d4
treee69e5b706895a52884cfc28f0fc4813c04a08344
parent02d262dffcf4c74e5c4612ee736bdb94f18ed5b9
ext4: fix ext_remove_space for punch_hole case

Inode is allowed to have empty leaf only if it this is blockless inode.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c