aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-11-30 10:09:33 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:58 -0400
commit00f5c795fca47d038fedd3f0c9311da3be710c9f (patch)
tree98e6a349ddfa115b4f0577f3c6e1e24fca2fac59 /fs/btrfs/ctree.h
parentca6646264b7dab662d84435441164bb2a8e8885a (diff)
btrfs_drop_extents: make sure the item is getting smaller before truncate
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 56b977ffe918..b29b911dd825 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1037,7 +1037,7 @@ int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end);
1037extern struct file_operations btrfs_file_operations; 1037extern struct file_operations btrfs_file_operations;
1038int btrfs_drop_extents(struct btrfs_trans_handle *trans, 1038int btrfs_drop_extents(struct btrfs_trans_handle *trans,
1039 struct btrfs_root *root, struct inode *inode, 1039 struct btrfs_root *root, struct inode *inode,
1040 u64 start, u64 end, u64 inline_end, u64 *hint_block); 1040 u64 start, u64 end, u64 inline_limit, u64 *hint_block);
1041/* tree-defrag.c */ 1041/* tree-defrag.c */
1042int btrfs_defrag_leaves(struct btrfs_trans_handle *trans, 1042int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
1043 struct btrfs_root *root, int cache_only); 1043 struct btrfs_root *root, int cache_only);