diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2006-03-25 06:07:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:54 -0500 |
commit | 16cce6d27ef52e00cc124196046bbae7150024c1 (patch) | |
tree | d4494a6a5146fa7314138f674c2928e31c26bcc0 /fs/9p/9p.h | |
parent | 5174fdab9f58181249debab6e959ae4fd4abd0ed (diff) |
[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.h | 3 |
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 { | |||
235 | struct v9fs_str name; | 235 | struct v9fs_str name; |
236 | u32 perm; | 236 | u32 perm; |
237 | u8 mode; | 237 | u8 mode; |
238 | struct v9fs_str extension; | ||
238 | }; | 239 | }; |
239 | 240 | ||
240 | struct Rcreate { | 241 | struct Rcreate { |
@@ -364,7 +365,7 @@ int v9fs_t_remove(struct v9fs_session_info *v9ses, u32 fid, | |||
364 | struct v9fs_fcall **rcall); | 365 | struct v9fs_fcall **rcall); |
365 | 366 | ||
366 | int v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name, | 367 | int v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name, |
367 | u32 perm, u8 mode, struct v9fs_fcall **rcall); | 368 | u32 perm, u8 mode, char *extension, struct v9fs_fcall **rcall); |
368 | 369 | ||
369 | int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid, | 370 | int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid, |
370 | u64 offset, u32 count, struct v9fs_fcall **rcall); | 371 | u64 offset, u32 count, struct v9fs_fcall **rcall); |