Re: [PATCH 2/4] loop: Factor out configuring loop from status.

From: Bart Van Assche
Date: Mon Apr 20 2020 - 09:50:02 EST


On 4/20/20 1:04 AM, Martijn Coenen wrote:
static int
-loop_set_status(struct loop_device *lo, const struct loop_info64 *info)
+loop_set_from_status(struct loop_device *lo, const struct loop_info64 *info)
{

An additional question: since this function sets the status of 'lo' based on the information in 'info', would "loop_set_status" or "loop_set_status_from_info" be a better name for this function?

Thanks,

Bart.