diff options
Diffstat (limited to 'kernel/fs/btrfs/super.c')
-rw-r--r-- | kernel/fs/btrfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/btrfs/super.c b/kernel/fs/btrfs/super.c index fe609b81d..5d34a062c 100644 --- a/kernel/fs/btrfs/super.c +++ b/kernel/fs/btrfs/super.c @@ -239,7 +239,7 @@ void __btrfs_abort_transaction(struct btrfs_trans_handle *trans, trans->aborted = errno; /* Nothing used. The other threads that have joined this * transaction may be able to continue. */ - if (!trans->blocks_used && list_empty(&trans->new_bgs)) { + if (!trans->dirty && list_empty(&trans->new_bgs)) { const char *errstr; errstr = btrfs_decode_error(errno); |