ext4: Extent overlap bugfix
authorAmit Arora <aarora@in.ibm.com>
Thu, 24 May 2007 17:04:13 +0000 (13:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 May 2007 20:20:15 +0000 (16:20 -0400)
commit25d14f983f70ddbeb15fa2d0f32f6b70bca42a15
tree322e219240fc4b527b5c5b16d1f7a97b5dd0917b
parent8a9dc94498f39c259b011d0abcb89bdf73cafa2d
ext4: Extent overlap bugfix

This patch adds a check for overlap of extents and cuts short the
new extent to be inserted, if there is a chance of overlap.

Signed-off-by: Amit Arora <aarora@in.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c
include/linux/ext4_fs_extents.h