[PATCH] nvme: use DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE for multipath_sysfs

Keith Busch kbusch at kernel.org
Wed May 27 08:02:06 PDT 2026


On Wed, May 13, 2026 at 09:50:30AM +0000, John Garry wrote:
> Use DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE instead of
> DEFINE_SYSFS_GROUP_VISIBLE, which means that we can drop
> multipath_sysfs_attr_visible().
> 
> Incidentally, multipath_sysfs_attr_visible() should have returned a
> umode_t.

Thanks, applied to nvme-7.2.



More information about the Linux-nvme mailing list