]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:10:46 +0000 (18:10 +0200)
commitd92b0eb61394bf0f1a650be0fde7d0f7d379c2db
tree157a5cd82158e1b9a21423e06e8f074e4654b456
parent59657bbcb34ab258cb496fe8687fee85035ccbc1
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>
fs/btrfs/extent-tree.c