diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-09-06 04:00:32 -0600 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:09 -0400 |
commit | 6fa9700e734275de2acbcb0e99414bd7ddfc60f1 (patch) | |
tree | 97c65df04e339c42b0255d1058f9ef2c73ec857a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | cf93dccea67ad8f5e0d9163c6a0a584550bbd7cd (diff) |
Btrfs: fix error path in create_pending_snapshot()
This patch fixes the following problem:
- If we failed to deal with the delayed dir items, we should abort transaction,
just as its comment said. Fix it.
- If root reference or root back reference insertion failed, we should
abort transaction. Fix it.
- Fix the double free problem of pending->inherit.
- Do not restore the trans->rsv if we doesn't change it.
- make the error path more clearly.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions