diff options
| author | Josef Bacik <[email protected]> | 2020-02-13 15:47:29 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-02-18 23:36:41 +0000 |
| commit | 1e90315149f3fe148e114a5de86f0196d1c21fa5 (patch) | |
| tree | 6c1b49655312d5e6da2f0d63dbbab5b198a474f6 /fs/btrfs/dev-replace.c | |
| parent | btrfs: reset fs_root to NULL on error in open_ctree (diff) | |
| download | kernel-1e90315149f3fe148e114a5de86f0196d1c21fa5.tar.gz kernel-1e90315149f3fe148e114a5de86f0196d1c21fa5.zip | |
btrfs: do not check delayed items are empty for single transaction cleanup
btrfs_assert_delayed_root_empty() will check if the delayed root is
completely empty, but this is a filesystem-wide check. On cleanup we
may have allowed other transactions to begin, for whatever reason, and
thus the delayed root is not empty.
So remove this check from cleanup_one_transation(). This however can
stay in btrfs_cleanup_transaction(), because it checks only after all of
the transactions have been properly cleaned up, and thus is valid.
CC: [email protected] # 4.4+
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
