aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWang Shilong <[email protected]>2014-06-26 11:08:16 +0800
committerChris Mason <[email protected]>2014-07-03 07:04:04 -0700
commit5f3164813b90f7dbcb5c3ab9006906222ce471b7 (patch)
treeb176f089dda953a935d4987c6d02ea3783cb56d7 /tools/perf/util/scripting-engines/trace-event-python.c
parent3cc79392558f1789e5e1d2fce44b681980f403c3 (diff)
Btrfs: fix race between balance recovery and root deletion
Balance recovery is called when RW mounting or remounting from RO to RW, it is called to finish roots merging. When doing balance recovery, relocation root's corresponding fs root(whose root refs is 0) might be destroyed by cleaner thread, this will make btrfs fail to mount. Fix this problem by holding @cleaner_mutex when doing balance recovery. Signed-off-by: Wang Shilong <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions