[PATCH v2 1/1] nvme: move sysfs code to a dedicated sysfs.c file

Jens Axboe axboe at kernel.dk
Tue Apr 25 08:27:52 PDT 2023


On 4/24/23 3:12?PM, 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 patch does not include any functional changes.

Reviewed-by: Jens Axboe <axboe at kernel.dk>

-- 
Jens Axboe




More information about the Linux-nvme mailing list