summaryrefslogtreecommitdiff
path: root/net/9p/mod.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2025-10-10 16:36:19 -0500
committerDominique Martinet <asmadeus@codewreck.org>2025-11-03 16:49:53 +0900
commit1f3e4142c0eb178089ea0cbc97506a061470ad27 (patch)
treeecca179e13d79762216f89ac2b2d731d0ebe886e /net/9p/mod.c
parent075e8bd4127f007910fc302ad5c3c471d0be4799 (diff)
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>
Diffstat (limited to 'net/9p/mod.c')
-rw-r--r--net/9p/mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/mod.c b/net/9p/mod.c
index 55576c1866fa..85160b52da55 100644
--- a/net/9p/mod.c
+++ b/net/9p/mod.c
@@ -16,7 +16,6 @@
#include <linux/moduleparam.h>
#include <net/9p/9p.h>
#include <linux/fs.h>
-#include <linux/parser.h>
#include <net/9p/client.h>
#include <net/9p/transport.h>
#include <linux/list.h>
@@ -171,6 +170,7 @@ void v9fs_put_trans(struct p9_trans_module *m)
if (m)
module_put(m->owner);
}
+EXPORT_SYMBOL(v9fs_put_trans);
/**
* init_p9 - Initialize module