Re: [PATCH 3/3] btrfs: Remove find_raid56_stripe_len

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

 




On 13.07.2017 11:45, Nikolay Borisov wrote:
> find_raid56_stripe_len statically returns SZ_64K which equals BTRFS_STRIPE_LEN.
> It's sole caller is __btrfs_alloc_chunk and it assigns the return value to ai
> variable which is already set to BTRFS_STRIPE_LEN. So remove the function
> invocation altogether and remove the function itself. Also remove the variable
> since it's only aliasing BTRFS_STRIPE_LEN and use the define directly.
> 
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>

I thought the mail server ate this patch hence I resent it. It's
identical to the initial posting so ignore it.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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