summaryrefslogtreecommitdiff
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 {
struct extent_state *state);
void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end,
struct extent_state *state);
+ int (*set_bit_hook)(struct inode *inode, u64 start, u64 end,
+ unsigned long bits);
+ int (*clear_bit_hook)(struct inode *inode, u64 start, u64 end,
+ unsigned long bits);
};
struct extent_io_tree {