]> Gentwo Git Trees - linux/.git/commit
9p: convert to the new mount API
authorEric Sandeen <sandeen@redhat.com>
Fri, 10 Oct 2025 21:36:19 +0000 (16:36 -0500)
committerDominique Martinet <asmadeus@codewreck.org>
Mon, 3 Nov 2025 07:49:53 +0000 (16:49 +0900)
commit1f3e4142c0eb178089ea0cbc97506a061470ad27
treeecca179e13d79762216f89ac2b2d731d0ebe886e
parent075e8bd4127f007910fc302ad5c3c471d0be4799
9p: convert to the new mount API

Convert 9p to the new mount API. This patch consolidates all parsing
into fs/9p/v9fs.c, which stores all results into a filesystem context
which can be passed to the various transports as needed.

Some of the parsing helper functions such as get_cache_mode() have been
eliminated in favor of using the new mount API's enum param type,
for simplicity.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Message-ID: <20251010214222.1347785-5-sandeen@redhat.com>
[ Dominique: handled source explicitly as per follow-up discussion ]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
12 files changed:
fs/9p/v9fs.c
fs/9p/v9fs.h
fs/9p/vfs_super.c
include/net/9p/client.h
include/net/9p/transport.h
net/9p/client.c
net/9p/mod.c
net/9p/trans_fd.c
net/9p/trans_rdma.c
net/9p/trans_usbg.c
net/9p/trans_virtio.c
net/9p/trans_xen.c