9p: 9P ramfs sample implementation
Subsystems (2)
Latchesar Ionkov
maintainerRFC 1/1 9p: 9P ramfs sample implementation
Sample ramfs file server that uses the 9P in-kernel server implementation. This code is for reference only, it is not supposed to be merged into the kernel.
Signed-off-by Latchesar Ionkov <[email protected]>
--- net/9p/srv/Kconfig | 6 + net/9p/srv/Makefile | 4 + net/9p/srv/ramfs.c | 938 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 948 insertions(+), 0 deletions(-) create mode 100644 net/9p/srv/ramfs.c
net/9p/srv/Kconfig +6 -0
@@ -7,3 +7,9 @@ config NET_9P_SRV depends on NET_9P help Say Y if you want the 9P server support + +config NET_9P_RAMFS + tristate "9P ramfs sample" + depends on NET_9P_SRV + help + Say Y if you want the 9P ramfs support
net/9p/srv/Makefile +4 -0
@@ -1,7 +1,11 @@ obj-$(CONFIG_NET_9P_SRV) += 9psrv.o +obj-$(CONFIG_NET_9P_RAMFS) += 9pramfs.o 9psrv-objs := \ srv.o \ conn.o \ fid.o \ socksrv.o \ + +9pramfs-objs := \ + ramfs.o \
net/9p/srv/ramfs.c new file +938 -0
938 lines not on this page · raw message
Signature · 1 line
1.5.2.4