]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: add inodes before dropping the extent lock in find_all_leafs
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 30 May 2012 16:05:21 +0000 (18:05 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 31 May 2012 17:53:08 +0000 (19:53 +0200)
commit3301958b7c1dae8f0f5ded63aa881e0b71e78464
tree11d1c098981a65bcbe11f4be594d6e9855f55448
parent95a06077f7edbd00d32612562be4d857a5b7df54
Btrfs: add inodes before dropping the extent lock in find_all_leafs

We must build up the inode list with the extent lock held after following
indirect refs.

This also requires an extension to ulists, which allows to modify the stored
aux value in case a key already exists in the list.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c
fs/btrfs/ulist.c
fs/btrfs/ulist.h