btrfs: Refactor count handling in btrfs_unpin_free_ino
With gcc 4.1.2:
fs/btrfs/inode-map.c: In function ‘btrfs_unpin_free_ino’:
fs/btrfs/inode-map.c:241: warning: ‘count’ may be used uninitialized in this function
While this warning is a false-positive, it can easily be killed by
refactoring the code.
Signed-off-by:
Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by:
David Sterba <dsterba@suse.com>
Signed-off-by:
David Sterba <dsterba@suse.com>
Loading
Please register or sign in to comment