diff options
author | David Sterba <dsterba@suse.com> | 2025-01-09 11:24:01 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:21 +0100 |
commit | 6d67ff1c0be3c04e01c6b20a0c8286e99df05b2d (patch) | |
tree | 3b3945049aaf52fe3a681e991d48f2a7ef2685a7 | |
parent | 5f14eb12a3be1628809141759e46c381925b5ef1 (diff) |
btrfs: remove stray comment about SRCU
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>
-rw-r--r-- | fs/btrfs/disk-io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index a7051e2570c1..587842991b24 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -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) { |