summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-softirq.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2010-01-15 09:43:09 +0100
committerChris Mason <chris.mason@oracle.com>2010-01-18 02:40:21 +0100
commit6c7d54ac87f338c479d9729e8392eca3f76e11e1 (patch)
tree3815913df585d7cbc8ba6a4c151328daa4720c7c /lib/locking-selftest-softirq.h
parentBtrfs, fix memory leaks in error paths (diff)
downloadlinux-6c7d54ac87f338c479d9729e8392eca3f76e11e1.tar.xz
linux-6c7d54ac87f338c479d9729e8392eca3f76e11e1.zip
Btrfs: Fix race in btrfs_mark_extent_written
Fix bug reported by Johannes Hirte. The reason of that bug is btrfs_del_items is called after btrfs_duplicate_item and btrfs_del_items triggers tree balance. The fix is check that case and call btrfs_search_slot when needed. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions