Re: [PATCH] btrfs: fix comment drop reference to volume_mutex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux