diff options
author | David Sterba <dsterba@suse.cz> | 2014-07-31 01:03:53 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 17:30:32 +0200 |
commit | fb85fc9a675738ee2746b51c3aedde944b18ca02 (patch) | |
tree | 5743373c5a411c8d5112d6d8b5ee83d7836c483a /fs/btrfs/extent_io.h | |
parent | a50924e3a4d7fccb0ecfbd42a4c7ed6e56ee1765 (diff) | |
download | linux-fb85fc9a675738ee2746b51c3aedde944b18ca02.tar.gz linux-fb85fc9a675738ee2746b51c3aedde944b18ca02.tar.bz2 linux-fb85fc9a675738ee2746b51c3aedde944b18ca02.zip |
btrfs: kill extent_buffer_page helper
It used to be more complex but now it's just a simple array access.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 1e06f0e4a185..63f2b10ee763 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -279,12 +279,6 @@ static inline unsigned long num_extent_pages(u64 start, u64 len) (start >> PAGE_CACHE_SHIFT); } -static inline struct page *extent_buffer_page(struct extent_buffer *eb, - unsigned long i) -{ - return eb->pages[i]; -} - static inline void extent_buffer_get(struct extent_buffer *eb) { atomic_inc(&eb->refs); |