Re: [PATCH 3/4] btrfs-progs: Remove unnecessary fallthrough attribute in test_num_disk_vs_raid()

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

 



Even though this is a simple fix, the warning should be here and the
versio that triggered it.

On Mon, Jun 17, 2019 at 03:59:35PM +0800, Qu Wenruo wrote:
> Signed-off-by: Qu Wenruo <wqu@xxxxxxxx>
> ---
>  utils.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/utils.c b/utils.c
> index 0b271517551b..2709ced97f97 100644
> --- a/utils.c
> +++ b/utils.c
> @@ -1928,7 +1928,6 @@ int test_num_disk_vs_raid(u64 metadata_profile, u64 data_profile,
>  		__attribute__ ((fallthrough));
>  	case 1:
>  		allowed |= BTRFS_BLOCK_GROUP_DUP;
> -		__attribute__ ((fallthrough));
>  	}
>  
>  	if (dev_cnt > 1 && profile & BTRFS_BLOCK_GROUP_DUP) {
> -- 
> 2.22.0



[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