Btrfs: remove duplicated ino cache's inode lookup
authorFilipe David Borba Manana <fdmanana@gmail.com>
Fri, 20 Sep 2013 13:43:28 +0000 (14:43 +0100)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:51:24 +0000 (21:51 -0500)
commit53645a91f4baed059ec5dfb22340cf3e6b8fdd2c
tree4d4e31ce759164493c4be81c241be2a9d8bab068
parentd4b4087c43cc00a196c5be57fac41f41309f1d56
Btrfs: remove duplicated ino cache's inode lookup

We're doing a unnecessary extra lookup of the ino cache's
inode when we already have it (and holding a reference)
during the process of saving the ino cache contents to disk.
Therefore remove this extra lookup.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.h
fs/btrfs/inode-map.c