Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
fs
/
btrfs
/
transaction.c
diff --git
a/kernel/fs/btrfs/transaction.c
b/kernel/fs/btrfs/transaction.c
index
94e909c
..
00d18c2
100644
(file)
--- a/
kernel/fs/btrfs/transaction.c
+++ b/
kernel/fs/btrfs/transaction.c
@@
-1875,8
+1875,11
@@
int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
spin_unlock(&root->fs_info->trans_lock);
wait_for_commit(root, prev_trans);
+ ret = prev_trans->aborted;
btrfs_put_transaction(prev_trans);
+ if (ret)
+ goto cleanup_transaction;
} else {
spin_unlock(&root->fs_info->trans_lock);
}