summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compat.h
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2012-02-25 09:09:30 +0100
committerDavid Sterba <dsterba@suse.cz>2012-04-18 19:12:44 +0200
commit8c9c2bf7a3c4f7e9d158c0be9c49f372fb943ad2 (patch)
tree6c17b4db9b39cb8eb950c21377f453df18f467c3 /fs/btrfs/compat.h
parent848cce0d4102b5b4b26b0987b43e1919d462afe2 (diff)
downloadtalos-op-linux-8c9c2bf7a3c4f7e9d158c0be9c49f372fb943ad2.tar.gz
talos-op-linux-8c9c2bf7a3c4f7e9d158c0be9c49f372fb943ad2.zip
btrfs: fix race in reada
When inserting into the radix tree returns EEXIST, get the existing entry without giving up the spinlock in between. There was a race for both the zones trees and the extent tree. Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/compat.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud