diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-29 15:55:23 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | 291d673e6a22d9c6834e939f66c7cfef90669021 (patch) | |
tree | 841e9be40bb5fbf7c978c789ee67183cef596686 /fs/btrfs/extent_io.h | |
parent | 9c58309d6cf22471dacbcb6de54d00cef9ca20d4 (diff) | |
download | op-kernel-dev-291d673e6a22d9c6834e939f66c7cfef90669021.zip op-kernel-dev-291d673e6a22d9c6834e939f66c7cfef90669021.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index f1e8bf2..a96c5a1 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 { |