diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-02 06:36:09 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-12-02 06:36:09 -0500 |
commit | 6e430f94e508fee1aefd1dfec88da3c24ce64433 (patch) | |
tree | a93d163dbd42a16750f4ecbf4a333d8ea6ec1c0d /fs/btrfs/file.c | |
parent | b2950863c61bc24cf0f63bc05947d9d50663c4c0 (diff) |
Btrfs: fix shadowed variable declarations
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 1e8c024c69c3..1c9243560eab 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -662,18 +662,18 @@ next_slot: | |||
662 | } | 662 | } |
663 | 663 | ||
664 | if (found_extent && !keep) { | 664 | if (found_extent && !keep) { |
665 | u64 disk_bytenr = le64_to_cpu(old.disk_bytenr); | 665 | u64 old_disk_bytenr = le64_to_cpu(old.disk_bytenr); |
666 | 666 | ||
667 | if (disk_bytenr != 0) { | 667 | if (old_disk_bytenr != 0) { |
668 | inode_sub_bytes(inode, | 668 | inode_sub_bytes(inode, |
669 | le64_to_cpu(old.num_bytes)); | 669 | le64_to_cpu(old.num_bytes)); |
670 | ret = btrfs_free_extent(trans, root, | 670 | ret = btrfs_free_extent(trans, root, |
671 | disk_bytenr, | 671 | old_disk_bytenr, |
672 | le64_to_cpu(old.disk_num_bytes), | 672 | le64_to_cpu(old.disk_num_bytes), |
673 | leaf_start, root_owner, | 673 | leaf_start, root_owner, |
674 | root_gen, key.objectid, 0); | 674 | root_gen, key.objectid, 0); |
675 | BUG_ON(ret); | 675 | BUG_ON(ret); |
676 | *hint_byte = disk_bytenr; | 676 | *hint_byte = old_disk_bytenr; |
677 | } | 677 | } |
678 | } | 678 | } |
679 | 679 | ||