]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove useless comment from btrfs_pin_extent_for_log_replay()
authorFilipe Manana <fdmanana@suse.com>
Fri, 15 Sep 2023 15:03:57 +0000 (16:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:08 +0000 (16:44 +0200)
commitc967c19ea6d5a7c79da53394694b1c38a7e1712f
treecf3228a9a79ba34bc4a5693578432edba9786ca4
parentdf423ee23bcf3228ed5f4aaacc2b108cecaf0c26
btrfs: remove useless comment from btrfs_pin_extent_for_log_replay()

The comment on top of btrfs_pin_extent_for_log_replay() mentioning that
the function must be called within a transaction is pointless as of
commit 9fce5704542c ("btrfs: Make btrfs_pin_extent_for_log_replay take
transaction handle"), since the function now takes a transaction handle
as its first argument. So remove the comment because it's completely
useless now.

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/extent-tree.c