[PATCH v2 0/3] nvmet: avoid recursive configfs open
Runyu Xiao
runyu.xiao at seu.edu.cn
Wed Aug 19 08:52:25 PDT 2026
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
More information about the Linux-nvme
mailing list