]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
btrfs: remove stray comment about SRCU
authorDavid Sterba <dsterba@suse.com>
Thu, 9 Jan 2025 10:24:01 +0000 (11:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:21 +0000 (14:53 +0100)
The subvol_srcu was removed in c75e839414d361 ("btrfs: kill the
subvol_srcu") years ago.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.h

index a7051e2570c1870ec1b6b4b5d73f30127ac9539e..587842991b244232a6f77f76c231f2135b70268f 100644 (file)
@@ -96,9 +96,6 @@ struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info);
 /*
  * This function is used to grab the root, and avoid it is freed when we
  * access it. But it doesn't ensure that the tree is not dropped.
- *
- * If you want to ensure the whole tree is safe, you should use
- *     fs_info->subvol_srcu
  */
 static inline struct btrfs_root *btrfs_grab_root(struct btrfs_root *root)
 {