mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-22 16:06:04 -05:00
btrfs: remove stray comment about SRCU
The subvol_srcu was removed in c75e839414
("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>
This commit is contained in:
parent
5f14eb12a3
commit
6d67ff1c0b
1 changed files with 0 additions and 3 deletions
|
@ -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
|
* 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.
|
* 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)
|
static inline struct btrfs_root *btrfs_grab_root(struct btrfs_root *root)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue