btrfs: delete stale comments after merge conflict resolution
authorDavid Sterba <dsterba@suse.com>
Tue, 11 Oct 2022 09:25:33 +0000 (11:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 11 Oct 2022 12:47:54 +0000 (14:47 +0200)
commit295a53ccc4ca8383f6d107534b466b91aa013f79
tree1377202f5b760d79caa86eab1b12ce9a29ec9586
parent9e769bd7e5db5e3bd76e7c67004c261f7fcaa8f1
btrfs: delete stale comments after merge conflict resolution

There are two comments in btrfs_cache_block_group that I left when
resolving conflict between commits ced8ecf026fd8 "btrfs: fix space cache
corruption and potential double allocations" and 527c490f44f6f "btrfs:
delete btrfs_wait_space_cache_v1_finished".

The former reworked the caching logic to wait until the caching ends in
btrfs_cache_block_group while the latter only open coded the waiting.
Both removed btrfs_wait_space_cache_v1_finished, the correct code is
with the waiting and returning error. Thus the conflict resolution was
OK.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c