diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-19 08:29:38 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:19 -0400 |
commit | 306e16ce13c0f3d4fc071b45803b5b83c2606011 (patch) | |
tree | 109aa42ae17d91429d11ab332e0c16e790f95dc5 /fs/btrfs/disk-io.c | |
parent | 3fd9952df4964fac7d5868ba48eadcc9dae3ba46 (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/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 228cf36ece83..990afa8656a2 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -137,7 +137,7 @@ static const char *btrfs_eb_name[BTRFS_MAX_LEVEL + 1] = { | |||
137 | * that covers the entire device | 137 | * that covers the entire device |
138 | */ | 138 | */ |
139 | static struct extent_map *btree_get_extent(struct inode *inode, | 139 | static struct extent_map *btree_get_extent(struct inode *inode, |
140 | struct page *page, size_t page_offset, u64 start, u64 len, | 140 | struct page *page, size_t pg_offset, u64 start, u64 len, |
141 | int create) | 141 | int create) |
142 | { | 142 | { |
143 | struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; | 143 | struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; |