diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-15 01:00:04 (GMT) |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-12 17:26:57 (GMT) |
commit | ce3e69847e3ec79a38421bfd3d6f554d5e481231 (patch) | |
tree | 5c9704b1e1d3970ab098caac053cfbd06bb80f10 /fs/btrfs/extent_io.h | |
parent | 3f556f7853ec4845a7c219d026cbcdf4cfa8cea7 (diff) | |
download | linux-ce3e69847e3ec79a38421bfd3d6f554d5e481231.tar.xz |
btrfs: sink parameter len to alloc_extent_buffer
Because we're using globally known nodesize. Do the same for the sanity
test function variant.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index e6553e3..71268e5 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -262,7 +262,7 @@ int get_state_private(struct extent_io_tree *tree, u64 start, u64 *private); void set_page_extent_mapped(struct page *page); struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, - u64 start, unsigned long len); + u64 start); struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, u64 start); struct extent_buffer *btrfs_clone_extent_buffer(struct extent_buffer *src); @@ -378,5 +378,5 @@ noinline u64 find_lock_delalloc_range(struct inode *inode, u64 *end, u64 max_bytes); #endif struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info, - u64 start, unsigned long len); + u64 start); #endif |