diff options
author | Josef Bacik <josef@redhat.com> | 2012-05-31 15:52:43 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-06-14 21:29:13 -0400 |
commit | 7b8b92af58db347de64a237861fcf13374b34a9c (patch) | |
tree | 09b7c7cc0eb37d8e6d98127e2fef2b679a998059 /mm | |
parent | d7096fc3ef8360f30f228344bc564d4f97d8a158 (diff) | |
download | linux-3.10-7b8b92af58db347de64a237861fcf13374b34a9c.tar.gz linux-3.10-7b8b92af58db347de64a237861fcf13374b34a9c.tar.bz2 linux-3.10-7b8b92af58db347de64a237861fcf13374b34a9c.zip |
Btrfs: abort the transaction if the commit fails
If a transaction commit fails we don't abort it so we don't set an error on
the file system. This patch fixes that by actually calling the abort stuff
and then adding a check for a fs error in the transaction start stuff to
make sure it is caught properly. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions