]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix error handling in create_pending_snapshot
authorEric Sandeen <sandeen@redhat.com>
Thu, 12 Jun 2014 05:53:44 +0000 (00:53 -0500)
committerChris Mason <clm@fb.com>
Fri, 13 Jun 2014 16:52:30 +0000 (09:52 -0700)
commit53a03eb23b80f25f298b699192fdfe9b869c2818
treea0fdc3fdfd02c3804777a7322275529919f3564e
parentb792d27738de3f71e0447b2d79fe8945a73bb54a
btrfs: fix error handling in create_pending_snapshot

2c0ef578 cut and pasted some code to a later point
in create_pending_snapshot(), but didn't switch
to the appropriate error handling for this stage
of the function.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/transaction.c