[PATCH v2 0/3] nvmet: avoid recursive configfs open
Runyu Xiao <[email protected]>
| Newsgroups | org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
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