]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: don't use file->f_path.dentry for comparisons
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 8 Jul 2025 02:57:34 +0000 (03:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:31:09 +0000 (13:31 +0200)
commit3964d07dd821efe9680e90c51c86661a98e60a0f
treec692b292cfbc5e7484abdd5c3a79cf07f6c34285
parent4c0727e56831cf3646c604131e2eea25c734c9eb
lpfc: don't use file->f_path.dentry for comparisons

If you want a home-grown switch, at least use enum for selector...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250708025734.GT1880847@ZenIV
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_debugfs.h