diff mbox series

btrfs: fix comment drop reference to volume_mutex

Message ID 20200513174245.25956-1-anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series btrfs: fix comment drop reference to volume_mutex | expand

Commit Message

Anand Jain May 13, 2020, 5:42 p.m. UTC
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)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/volumes.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Sterba May 15, 2020, 5:48 p.m. UTC | #1
On Thu, May 14, 2020 at 01:42:45AM +0800, Anand Jain wrote:
> 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.

> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
>  fs/btrfs/volumes.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
> index be1e047a489e..60ab41c12e50 100644
> --- a/fs/btrfs/volumes.c
> +++ b/fs/btrfs/volumes.c
> @@ -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.
diff mbox series

Patch

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index be1e047a489e..60ab41c12e50 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -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