summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-15 16:03:57 +0100
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:08 +0200
commitc967c19ea6d5a7c79da53394694b1c38a7e1712f (patch)
treecf3228a9a79ba34bc4a5693578432edba9786ca4 /fs/btrfs/extent-tree.c
parentdf423ee23bcf3228ed5f4aaacc2b108cecaf0c26 (diff)
downloadlinux-c967c19ea6d5a7c79da53394694b1c38a7e1712f.tar.gz
linux-c967c19ea6d5a7c79da53394694b1c38a7e1712f.tar.bz2
linux-c967c19ea6d5a7c79da53394694b1c38a7e1712f.zip
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>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 89e3799d39e0..3e58c8df1463 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2566,9 +2566,6 @@ int btrfs_pin_extent(struct btrfs_trans_handle *trans,
return 0;
}
-/*
- * this function must be called within transaction
- */
int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans,
const struct extent_buffer *eb)
{