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

Runyu Xiao posted 3 patches 1 month, 1 week ago
There is a newer version of this series
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(-)
[PATCH v2 0/3] nvmet: avoid recursive configfs open
Posted by Runyu Xiao 1 month, 1 week ago
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