Re: [PATCH v3 2/3] btrfs: Refactor btrfs_check_super_valid()

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

 



On Fri, May 11, 2018 at 01:35:26PM +0800, Qu Wenruo wrote:
> Refactor btrfs_check_super_valid() by the ways:
> 
> 1) Rename it to btrfs_validate_mount_super()
>    Now it's more obvious when the function should be called.
> 
> 2) Extract core check routine into __validate_super()
>    So later write time check can reuse it, and if needed, we could also
>    use __validate_super() to check each super block.

As there's no validate_super without the underscores, I'd rather drop
them. Otherwise ok.

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