]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: update outdated comment for overwrite_item()
authorFilipe Manana <fdmanana@suse.com>
Thu, 13 Mar 2025 15:47:05 +0000 (15:47 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:55 +0000 (20:35 +0100)
commite0d5e3b743f93953229bbbf36d9ca5b4893b515e
treec3b62bb8a8fcca91e759ed2fec7918752adc80c4
parent5fbfb3f01d298077ce749a0381369202f456a9f7
btrfs: update outdated comment for overwrite_item()

The function is exclusively used for log replay since commit
3eb423442483 ("btrfs: remove outdated logic from overwrite_item() and add
assertion"), so update the comment so that it doesn't say it can be used
for logging. Also some minor rewording for clarity and while at it
reformat the affected text so that it fits closer to the 80 characters
limit for comments.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c