Btrfs: cache the extent state everywhere we possibly can V2
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / ctree.h
index 3a36b1fb553af314a6d9a885d4bf1473b7dd58ac..3f704a8161371c79dca93ce1add30b93192512c5 100644 (file)
@@ -2311,7 +2311,8 @@ int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
                               u32 min_type);
 
 int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput);
-int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end);
+int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
+                             struct extent_state **cached_state);
 int btrfs_writepages(struct address_space *mapping,
                     struct writeback_control *wbc);
 int btrfs_create_subvol_root(struct btrfs_trans_handle *trans,