Skip to contentSkip to conversation

btrfs: fix comment drop reference to volume_mutex

PATCH In review Anand Jain 2 participants 2 messages May 13, 2020 – May 15, 2020 Btrfs file system

lore
Share & tools
lore

Anand Jain

author
#0 lore raw

PATCH 1/1 btrfs: fix comment drop reference to volume_mutex

No functional changes.
commit dccdb07bc996 (btrfs: kill btrfs_fs_info::volume_mutex) killed the volume_mutex. Drop all references to volumes_mutex including the comment sections.

Fixes dccdb07bc996 (btrfs: kill btrfs_fs_info::volume_mutex)
---
 fs/btrfs/volumes.c | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/volumes.c +0 -1
index be1e047a489e..60ab41c12e50 100644
@@ -280,7 +280,6 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
  * ============
  *
  * uuid_mutex
- *   volume_mutex
  *     device_list_mutex
  *       chunk_mutex
  *     balance_mutex
Signature · 1 line
2.25.1
#1 lore raw
Quoted 6 lines · Anand Jain

No functional changes.
commit dccdb07bc996 (btrfs: kill btrfs_fs_info::volume_mutex) killed the volume_mutex. Drop all references to volumes_mutex including the comment sections.

Fixes dccdb07bc996 (btrfs: kill btrfs_fs_info::volume_mutex)

The right format is

Fixes hash ("subject")

but fixing a comment does not really need that tag and be backported to stable kernels.

Quoted 10 lines
---
 fs/btrfs/volumes.c | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/volumes.c +0 -0
index be1e047a489e..60ab41c12e50 100644

fs/btrfs/volumes.c static int __btrfs_map_block(struct btrfs_fs_info *fs_info, · line 285

Quoted 7 lines
fs/btrfs/volumes.c +0 -1
@@ -280,7 +280,6 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
  * ============
  *
  * uuid_mutex
- *   volume_mutex
  *     device_list_mutex
  *       chunk_mutex
  *     balance_mutex

As this removes one level, the other locks should be un-indented. I'll fix that, no need to resend.