btrfs: remove shadowing variables in __btrfs_buffered_write
authorDavid Sterba <dsterba@suse.cz>
Tue, 24 Feb 2015 18:07:26 +0000 (19:07 +0100)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Mar 2015 16:23:58 +0000 (17:23 +0100)
commitf64c7b12f86c638f13e19de08eeb8cf888dff8f6
tree1a72ae3255f7dbe4cdfc1798e49cf6c27deb3ee2
parent31e818fe7375d60de9953051f7bd1615cebc3681
btrfs: remove shadowing variables in __btrfs_buffered_write

There are lockstart and lockend defined in the function and not used
after their duplicate definition scope ends, it's safe to reuse them.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/file.c