]> 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)
commit340fc3c58b832547f64eae8e1177998256992440
tree4d4e31ce759164493c4be81c241be2a9d8bab068
parente209061312953758f0e0dc9b2578a5fdc7d4cc13
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