aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-19 14:29:38 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:19 +0200
commit306e16ce13c0f3d4fc071b45803b5b83c2606011 (patch)
tree109aa42ae17d91429d11ab332e0c16e790f95dc5 /fs/btrfs/extent_io.h
parent3fd9952df4964fac7d5868ba48eadcc9dae3ba46 (diff)
btrfs: rename variables clashing with global function names
reported by gcc -Wshadow: page_index, page_offset, new_inode, dev_name Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index af2d7179c37..b9ce2f72074 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -164,7 +164,7 @@ static inline struct extent_state *extent_state_next(struct extent_state *state)
typedef struct extent_map *(get_extent_t)(struct inode *inode,
struct page *page,
- size_t page_offset,
+ size_t pg_offset,
u64 start, u64 len,
int create);