aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-29 15:55:23 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:00 -0400
commit291d673e6a22d9c6834e939f66c7cfef90669021 (patch)
tree841e9be40bb5fbf7c978c789ee67183cef596686 /fs/btrfs/extent_io.h
parent9c58309d6cf22471dacbcb6de54d00cef9ca20d4 (diff)
Btrfs: Do delalloc accounting via hooks in the extent_state code
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index f1e8bf251f32..a96c5a14134e 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -33,6 +33,10 @@ struct extent_io_ops {
33 struct extent_state *state); 33 struct extent_state *state);
34 void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end, 34 void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end,
35 struct extent_state *state); 35 struct extent_state *state);
36 int (*set_bit_hook)(struct inode *inode, u64 start, u64 end,
37 unsigned long bits);
38 int (*clear_bit_hook)(struct inode *inode, u64 start, u64 end,
39 unsigned long bits);
36}; 40};
37 41
38struct extent_io_tree { 42struct extent_io_tree {