diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2016-09-14 04:15:48 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-26 18:04:01 +0200 |
commit | a43f7f82064220082eba7075c5a844d773fdef1b (patch) | |
tree | c3b005cedbd3c027247fdf70ace686e9aabff567 /fs/btrfs/print-tree.c | |
parent | Btrfs: memset to avoid stale content in btree node block (diff) | |
download | linux-a43f7f82064220082eba7075c5a844d773fdef1b.tar.xz linux-a43f7f82064220082eba7075c5a844d773fdef1b.zip |
Btrfs: remove BUG_ON in start_transaction
Since we could get errors from the concurrent aborted transaction,
the check of this BUG_ON in start_transaction is not true any more.
Say, while flushing free space cache inode's dirty pages,
btrfs_finish_ordered_io
-> btrfs_join_transaction_nolock
(the transaction has been aborted.)
-> BUG_ON(type == TRANS_JOIN_NOLOCK);
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions