Btrfs: Fix extent replacment race
[linux-2.6-block.git] / fs / btrfs / ctree.h
index 38eeb6c49c8a02277c252c6e2e16507cae24ff73..1ceab8b4d6dc41adf466b24f477060a8a96ddaad 100644 (file)
@@ -2292,7 +2292,7 @@ extern struct file_operations btrfs_file_operations;
 int btrfs_drop_extents(struct btrfs_trans_handle *trans,
                       struct btrfs_root *root, struct inode *inode,
                       u64 start, u64 end, u64 locked_end,
-                      u64 inline_limit, u64 *hint_block);
+                      u64 inline_limit, u64 *hint_block, int drop_cache);
 int btrfs_mark_extent_written(struct btrfs_trans_handle *trans,
                              struct btrfs_root *root,
                              struct inode *inode, u64 start, u64 end);