]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: COLLAPSE_RANGE only works on extent-based files
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 Apr 2014 02:53:53 +0000 (22:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Apr 2014 02:53:53 +0000 (22:53 -0400)
commitc8ff7317cde44db6541ef1c1a77e36592c1bc214
tree157b73fd979f8a95d0f15d0ca721113fdd21b66d
parentec38ef7b361ca19962f3ca9d846d75dc4067f9b1
ext4: COLLAPSE_RANGE only works on extent-based files

Unfortunately, we weren't checking to make sure of this the inode was
extent-based before attempt operate on it.  Hilarity ensues.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Namjae Jeon <namjae.jeon@samsung.com>
fs/ext4/extents.c