summaryrefslogtreecommitdiffstats
path: root/fs/9p/9p.h
diff options
context:
space:
mode:
authorLatchesar Ionkov2006-03-25 12:07:26 +0100
committerLinus Torvalds2006-03-25 17:22:54 +0100
commit16cce6d27ef52e00cc124196046bbae7150024c1 (patch)
treed4494a6a5146fa7314138f674c2928e31c26bcc0 /fs/9p/9p.h
parent[PATCH] v9fs: print 9p messages (diff)
downloadkernel-qcow2-linux-16cce6d27ef52e00cc124196046bbae7150024c1.tar.gz
kernel-qcow2-linux-16cce6d27ef52e00cc124196046bbae7150024c1.tar.xz
kernel-qcow2-linux-16cce6d27ef52e00cc124196046bbae7150024c1.zip
[PATCH] v9fs: add extension field to Tcreate
Implement a new way of creating special files. Instead of Tcreate+Twstat, add one more field to Tcreate that contains special file description. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/9p.h')
-rw-r--r--fs/9p/9p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/9p.h b/fs/9p/9p.h
index 1df9e69b794b..2bb89b4005a1 100644
--- a/fs/9p/9p.h
+++ b/fs/9p/9p.h
@@ -235,6 +235,7 @@ struct Tcreate {
struct v9fs_str name;
u32 perm;
u8 mode;
+ struct v9fs_str extension;
};
struct Rcreate {
@@ -364,7 +365,7 @@ int v9fs_t_remove(struct v9fs_session_info *v9ses, u32 fid,
struct v9fs_fcall **rcall);
int v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name,
- u32 perm, u8 mode, struct v9fs_fcall **rcall);
+ u32 perm, u8 mode, char *extension, struct v9fs_fcall **rcall);
int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid,
u64 offset, u32 count, struct v9fs_fcall **rcall);