Re: [PATCH] btrfs: Remove redundant mirror_num arg

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

 



On Tue, Oct 24, 2017 at 11:50:39AM +0300, Nikolay Borisov wrote:
> The following callpath is always invoked with mirror_num set to 0, so let's
> remove it as an argument and directly pass 0 to __do_redpage. No functional 
> change
> 
> extent_readpages
>   __extent_readpages
>     __do_contiguous_readpages
>       __do_readpage
> 
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
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