]> Gentwo Git Trees - linux/.git/commit
scsi: lpfc: Clean up extraneous phba dentries
authorJustin Tee <justin.tee@broadcom.com>
Mon, 15 Sep 2025 18:08:08 +0000 (11:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Sep 2025 02:20:00 +0000 (22:20 -0400)
commit8221b3450501c7cdc93be1eb65a6fe0dcfb4b538
tree4559a70d86f80a747d5fe5bb21f187879f9f6cfc
parent5d7ef44d8ae3b94565e8212d68c06bcee6f6ef90
scsi: lpfc: Clean up extraneous phba dentries

Because debugfs_remove recursively removes debugfs entries, the
lpfc_debugfs_terminate routine is updated to remove only the parent/root
debugfs directories.  As such, there no longer is a need to keep track
of each individual debugfs entry so clean up the unused phba dentries.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Closes: https://lore.kernel.org/linux-fsdevel/20250702212917.GK3406663@ZenIV/
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Message-ID: <20250915180811.137530-12-justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_debugfs.c