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/conv.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/conv.h')
-rw-r--r-- | fs/9p/conv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/conv.h b/fs/9p/conv.h index f5896628dae4..03cacdda7891 100644 --- a/fs/9p/conv.h +++ b/fs/9p/conv.h | |||
@@ -39,7 +39,8 @@ struct v9fs_fcall *v9fs_create_tflush(u16 oldtag); | |||
39 | struct v9fs_fcall *v9fs_create_twalk(u32 fid, u32 newfid, u16 nwname, | 39 | struct v9fs_fcall *v9fs_create_twalk(u32 fid, u32 newfid, u16 nwname, |
40 | char **wnames); | 40 | char **wnames); |
41 | struct v9fs_fcall *v9fs_create_topen(u32 fid, u8 mode); | 41 | struct v9fs_fcall *v9fs_create_topen(u32 fid, u8 mode); |
42 | struct v9fs_fcall *v9fs_create_tcreate(u32 fid, char *name, u32 perm, u8 mode); | 42 | struct v9fs_fcall *v9fs_create_tcreate(u32 fid, char *name, u32 perm, u8 mode, |
43 | char *extension, int extended); | ||
43 | struct v9fs_fcall *v9fs_create_tread(u32 fid, u64 offset, u32 count); | 44 | struct v9fs_fcall *v9fs_create_tread(u32 fid, u64 offset, u32 count); |
44 | struct v9fs_fcall *v9fs_create_twrite(u32 fid, u64 offset, u32 count, | 45 | struct v9fs_fcall *v9fs_create_twrite(u32 fid, u64 offset, u32 count, |
45 | const char __user *data); | 46 | const char __user *data); |