]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: fix call to btrfs_search_slot in free space cache
authorJosef Bacik <josef@redhat.com>
Fri, 19 Aug 2011 16:06:12 +0000 (12:06 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:38 +0000 (15:12 -0400)
commita9b5fcddce594a408a48d523087b5bb64ce82469
treeb146a8c2c9a00012b253c94dc65baa8ecb325e61
parent482e6dc5261406fdb921946e70b51467b0305bad
Btrfs: fix call to btrfs_search_slot in free space cache

We are setting ins_len to 1 even tho we are just modifying an item that should
be there already.  This may cause the search stuff to split nodes on the way
down needelessly.  Set this to 0 since we aren't inserting anything.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/free-space-cache.c