aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@hera.kernel.org>2006-03-25 06:07:29 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 11:22:54 -0500
commit67543e508d74ad1a8e80290580c9d1440beba4d9 (patch)
treef631dcbb0ea52075bad316b4c8b55ca6f78c7a71
parent42e8c509cfa3d92b3dcbfe95edf6be00e5d4b0eb (diff)
[PATCH] 9p: fix name consistency problems
There were a number of conflicting naming schemes used in the v9fs project. The directory was fs/9p, but MAINTAINERS and Documentation referred to v9fs. The module name itself was 9p2000, and the file system type was 9P. This patch attempts to clean that up, changing all references to 9p in order to match the directory name. We'll also start using 9p instead of v9fs as our patch prefix. There is also a minor consistency cleanup in the options changing the name option to uname in order to more closely match the Plan 9 options. Signed-off-by: Eric Van Hensbergevan <ericvh@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Documentation/filesystems/9p.txt (renamed from Documentation/filesystems/v9fs.txt)0
-rw-r--r--MAINTAINERS24
-rw-r--r--fs/9p/Makefile6
-rw-r--r--fs/9p/fcall.c (renamed from fs/9p/9p.c)5
-rw-r--r--fs/9p/v9fs.c8
-rw-r--r--fs/9p/vfs_super.c2
6 files changed, 22 insertions, 23 deletions
diff --git a/Documentation/filesystems/v9fs.txt b/Documentation/filesystems/9p.txt
index 24c7a9c41f0d..24c7a9c41f0d 100644
--- a/Documentation/filesystems/v9fs.txt
+++ b/Documentation/filesystems/9p.txt
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b6a0145505d..04877a3a20bd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -147,6 +147,18 @@ M: p_gortmaker@yahoo.com
147L: netdev@vger.kernel.org 147L: netdev@vger.kernel.org
148S: Maintained 148S: Maintained
149 149
1509P FILE SYSTEM
151P: Eric Van Hensbergen
152M: ericvh@gmail.com
153P: Ron Minnich
154M: rminnich@lanl.gov
155P: Latchesar Ionkov
156M: lucho@ionkov.net
157L: v9fs-developer@lists.sourceforge.net
158W: http://v9fs.sf.net
159T: git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs.git
160S: Maintained
161
150A2232 SERIAL BOARD DRIVER 162A2232 SERIAL BOARD DRIVER
151P: Enver Haase 163P: Enver Haase
152M: ehaase@inf.fu-berlin.de 164M: ehaase@inf.fu-berlin.de
@@ -2979,18 +2991,6 @@ L: rio500-users@lists.sourceforge.net
2979W: http://rio500.sourceforge.net 2991W: http://rio500.sourceforge.net
2980S: Maintained 2992S: Maintained
2981 2993
2982V9FS FILE SYSTEM
2983P: Eric Van Hensbergen
2984M: ericvh@gmail.com
2985P: Ron Minnich
2986M: rminnich@lanl.gov
2987P: Latchesar Ionkov
2988M: lucho@ionkov.net
2989L: v9fs-developer@lists.sourceforge.net
2990W: http://v9fs.sf.net
2991T: git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs-devel.git
2992S: Maintained
2993
2994VIDEO FOR LINUX 2994VIDEO FOR LINUX
2995P: Mauro Carvalho Chehab 2995P: Mauro Carvalho Chehab
2996M: mchehab@infradead.org 2996M: mchehab@infradead.org
diff --git a/fs/9p/Makefile b/fs/9p/Makefile
index 12d52421d58b..87897f84dfb6 100644
--- a/fs/9p/Makefile
+++ b/fs/9p/Makefile
@@ -1,9 +1,9 @@
1obj-$(CONFIG_9P_FS) := 9p2000.o 1obj-$(CONFIG_9P_FS) := 9p.o
2 2
39p2000-objs := \ 39p-objs := \
4 trans_fd.o \ 4 trans_fd.o \
5 mux.o \ 5 mux.o \
6 9p.o \ 6 fcall.o \
7 conv.o \ 7 conv.o \
8 vfs_super.o \ 8 vfs_super.o \
9 vfs_inode.o \ 9 vfs_inode.o \
diff --git a/fs/9p/9p.c b/fs/9p/fcall.c
index 552de120bbd5..71742ba150c4 100644
--- a/fs/9p/9p.c
+++ b/fs/9p/fcall.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * linux/fs/9p/9p.c 2 * linux/fs/9p/fcall.c
3 * 3 *
4 * This file contains functions to perform synchronous 9P calls 4 * This file contains functions to perform synchronous 9P calls
5 * 5 *
@@ -154,7 +154,6 @@ v9fs_t_clunk(struct v9fs_session_info *v9ses, u32 fid)
154 * @tag: tag to release 154 * @tag: tag to release
155 * 155 *
156 */ 156 */
157
158int v9fs_t_flush(struct v9fs_session_info *v9ses, u16 oldtag) 157int v9fs_t_flush(struct v9fs_session_info *v9ses, u16 oldtag)
159{ 158{
160 int ret; 159 int ret;
@@ -171,7 +170,7 @@ int v9fs_t_flush(struct v9fs_session_info *v9ses, u16 oldtag)
171 170
172 return ret; 171 return ret;
173} 172}
174#endif /* 0 */ 173#endif
175 174
176/** 175/**
177 * v9fs_t_stat - read a file's meta-data 176 * v9fs_t_stat - read a file's meta-data
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
index b633433f9ced..d37416eb5791 100644
--- a/fs/9p/v9fs.c
+++ b/fs/9p/v9fs.c
@@ -50,7 +50,7 @@ enum {
50 Opt_port, Opt_msize, Opt_uid, Opt_gid, Opt_afid, Opt_debug, 50 Opt_port, Opt_msize, Opt_uid, Opt_gid, Opt_afid, Opt_debug,
51 Opt_rfdno, Opt_wfdno, 51 Opt_rfdno, Opt_wfdno,
52 /* String options */ 52 /* String options */
53 Opt_name, Opt_remotename, 53 Opt_uname, Opt_remotename,
54 /* Options that take no arguments */ 54 /* Options that take no arguments */
55 Opt_legacy, Opt_nodevmap, Opt_unix, Opt_tcp, Opt_fd, 55 Opt_legacy, Opt_nodevmap, Opt_unix, Opt_tcp, Opt_fd,
56 /* Error token */ 56 /* Error token */
@@ -66,7 +66,7 @@ static match_table_t tokens = {
66 {Opt_rfdno, "rfdno=%u"}, 66 {Opt_rfdno, "rfdno=%u"},
67 {Opt_wfdno, "wfdno=%u"}, 67 {Opt_wfdno, "wfdno=%u"},
68 {Opt_debug, "debug=%x"}, 68 {Opt_debug, "debug=%x"},
69 {Opt_name, "name=%s"}, 69 {Opt_uname, "uname=%s"},
70 {Opt_remotename, "aname=%s"}, 70 {Opt_remotename, "aname=%s"},
71 {Opt_unix, "proto=unix"}, 71 {Opt_unix, "proto=unix"},
72 {Opt_tcp, "proto=tcp"}, 72 {Opt_tcp, "proto=tcp"},
@@ -115,7 +115,7 @@ static void v9fs_parse_options(char *options, struct v9fs_session_info *v9ses)
115 if (!*p) 115 if (!*p)
116 continue; 116 continue;
117 token = match_token(p, tokens, args); 117 token = match_token(p, tokens, args);
118 if (token < Opt_name) { 118 if (token < Opt_uname) {
119 if ((ret = match_int(&args[0], &option)) < 0) { 119 if ((ret = match_int(&args[0], &option)) < 0) {
120 dprintk(DEBUG_ERROR, 120 dprintk(DEBUG_ERROR,
121 "integer field, but no integer?\n"); 121 "integer field, but no integer?\n");
@@ -157,7 +157,7 @@ static void v9fs_parse_options(char *options, struct v9fs_session_info *v9ses)
157 case Opt_fd: 157 case Opt_fd:
158 v9ses->proto = PROTO_FD; 158 v9ses->proto = PROTO_FD;
159 break; 159 break;
160 case Opt_name: 160 case Opt_uname:
161 match_strcpy(v9ses->name, &args[0]); 161 match_strcpy(v9ses->name, &args[0]);
162 break; 162 break;
163 case Opt_remotename: 163 case Opt_remotename:
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 083ed5af8a1e..b0a0ae509c00 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -261,7 +261,7 @@ static struct super_operations v9fs_super_ops = {
261}; 261};
262 262
263struct file_system_type v9fs_fs_type = { 263struct file_system_type v9fs_fs_type = {
264 .name = "9P", 264 .name = "9p",
265 .get_sb = v9fs_get_sb, 265 .get_sb = v9fs_get_sb,
266 .kill_sb = v9fs_kill_super, 266 .kill_sb = v9fs_kill_super,
267 .owner = THIS_MODULE, 267 .owner = THIS_MODULE,