btrfs_drop_extents: make sure the item is getting smaller before truncate
authorChris Mason <chris.mason@oracle.com>
Fri, 30 Nov 2007 15:09:33 +0000 (10:09 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
commit00f5c795fca47d038fedd3f0c9311da3be710c9f
tree98e6a349ddfa115b4f0577f3c6e1e24fca2fac59
parentca6646264b7dab662d84435441164bb2a8e8885a
btrfs_drop_extents: make sure the item is getting smaller before truncate

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