[PATCH v2 0/3] nvmet: avoid recursive configfs open

From: Runyu Xiao

Date: Wed Aug 19 2026 - 11:56:21 EST


This v2 moves the configfs path check into a shared helper so nvmet can
reject configfs-backed paths without string comparisons, then reuses it
from both nvmet open paths.

Runyu Xiao (3):
fs: configfs: add helper to identify configfs paths
nvmet: avoid recursive configfs open for file-backed namespaces
nvmet: avoid recursive configfs open for passthru

drivers/nvme/target/io-cmd-file.c | 20 +++++++++++++++++++-
drivers/nvme/target/passthru.c | 17 ++++++++++++++++-
fs/configfs/mount.c | 6 ++++++
include/linux/configfs.h | 2 ++
4 files changed, 43 insertions(+), 2 deletions(-)

--
2.34.1