Miao Xie 6fa9700e73 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>
2012-10-01 15:19:09 -04:00
..
2012-05-30 10:23:27 -04:00
2012-05-29 23:28:33 -04:00
2012-10-01 15:19:07 -04:00
2011-06-17 14:54:18 -04:00
2012-10-01 15:19:07 -04:00
2012-10-01 15:18:53 -04:00
2012-10-01 15:18:53 -04:00