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
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