aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2013-10-29 10:45:05 +0800
committerChris Mason <[email protected]>2013-11-11 22:11:00 -0500
commit6f519564d7d978c00351d9ab6abac3deeac31621 (patch)
treead6219309aee3a44248fb7f7eb9756fc76423d79 /tools/perf/util/trace-event-scripting.c
parent269d040ff2f340e1ed517dab8b66b2f133c83a77 (diff)
Btrfs: do not run snapshot-aware defragment on error
If something wrong happens in write endio, running snapshot-aware defragment can end up with undefined results, maybe a crash, so we should avoid it. In order to share similar code, this also adds a helper to free the struct for snapshot-aware defrag. Signed-off-by: Liu Bo <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions