btrfs_drop_extent fixe for inline items > 8K
authorYan <yanzheng@21cn.com>
Wed, 30 Jan 2008 19:39:54 +0000 (14:39 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:00 +0000 (11:04 -0400)
commit0181e58f91c1edbf835edb7a87d6dfe81374709d
tree6c54b29a535e684e22eb73e0a5077c19effedc75
parent1b0f7c29e2f4f41e1367e7581d3a9c8c70f0394a
btrfs_drop_extent fixe for inline items > 8K

When truncating a inline extent, btrfs_drop_extents doesn't properly
handle the case "key.offset > inline_limit". This bug can only happen
when max line size is larger than 8K.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c