]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3092bdf88c049266ad04ff90afaeb9de9269dd71
tree4d4e31ce759164493c4be81c241be2a9d8bab068
parent843f64ce4e8362e27935593e1e2f793e4398054b
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