]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited1289dbac9c0df00830c5584d5f1c3ba9ed4ddf
tree1377202f5b760d79caa86eab1b12ce9a29ec9586
parent6d5967ba8a81b2004c09ebb53af510800b668e12
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 a438724eca691 "btrfs: fix space cache
corruption and potential double allocations" and c6aef56fce90a "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