[PATCH 1/1] nvme: add a dedicated .c file for sysfs interface

Keith Busch kbusch at kernel.org
Mon Apr 24 11:04:56 PDT 2023


On Mon, Apr 24, 2023 at 05:18:18PM +0300, Max Gurtovoy wrote:
> The core.c file became long and hard to maintain. Create a dedicated
> file to centralize the sysfs functionality. This is a common practice to
> separate sysfs/configfs related logic from the main driver logic .c file.
> For example, in the nvmet module the configfs interface has its own
> dedicated file.

This move sounds appropriate, and change looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list