diff options
author | Omar Sandoval <osandov@fb.com> | 2015-09-30 06:50:31 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-12-17 23:16:46 +0300 |
commit | 0f3312295d3ce1d82392244236a52b3b663480ef (patch) | |
tree | 1e75388907006f7c2c64e539ef6e3e5c5cd6453a /fs/btrfs/extent_io.h | |
parent | 3e1e8bb770dba29645b302c5499ffcb8e3906712 (diff) | |
download | linux-0f3312295d3ce1d82392244236a52b3b663480ef.tar.xz |
Btrfs: add extent buffer bitmap sanity tests
Sanity test the extent buffer bitmap operations (test, set, and clear)
against the equivalent standard kernel operations.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 9185a20081d7..9f8d7d1a7015 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -263,8 +263,10 @@ void set_page_extent_mapped(struct page *page); struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, u64 start); +struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, + u64 start, unsigned long len); struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, - u64 start); + u64 start); struct extent_buffer *btrfs_clone_extent_buffer(struct extent_buffer *src); struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info, u64 start); |