]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: pass the correct root to lookup_free_space_inode()
authorIlya Dryomov <idryomov@gmail.com>
Sun, 2 Oct 2011 10:56:53 +0000 (13:56 +0300)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 02:20:42 +0000 (21:20 -0500)
commit97806a0adc47f0683fbe1f2cb6664b33e0ce279a
tree6da84e732f3711ff7f0e47319263b34a479a2206
parentba31170cb50e6ef4e0f5cf3b851537b51cda552c
Btrfs: pass the correct root to lookup_free_space_inode()

Free space items are located in tree of tree roots, not in the extent
tree.  It didn't pop up because lookup_free_space_inode() grabs the
inode all the time instead of actually searching the tree.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 10b2f34d6e7fbe07f498cb2006272e9a561f5e60)
fs/btrfs/extent-tree.c