Btrfs: don't read leaf blocks containing only checksums during truncate
[linux-2.6-block.git] / fs / btrfs / ctree.h
index ded1643c027363a79a88b954642841f7efdd3c99..94e0cdfddc0c1bee5126aa704da3c3213117c838 100644 (file)
@@ -1649,7 +1649,9 @@ void btrfs_free_path(struct btrfs_path *p);
 void btrfs_init_path(struct btrfs_path *p);
 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
                   struct btrfs_path *path, int slot, int nr);
-
+int btrfs_del_leaf(struct btrfs_trans_handle *trans,
+                           struct btrfs_root *root,
+                           struct btrfs_path *path, u64 bytenr);
 static inline int btrfs_del_item(struct btrfs_trans_handle *trans,
                                 struct btrfs_root *root,
                                 struct btrfs_path *path)