aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/9p.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/9p.h')
-rw-r--r--fs/9p/9p.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/fs/9p/9p.h b/fs/9p/9p.h
index 0cd374d94717..94e2f92ab2e8 100644
--- a/fs/9p/9p.h
+++ b/fs/9p/9p.h
@@ -8,9 +8,8 @@
8 * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> 8 * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov>
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by 11 * it under the terms of the GNU General Public License version 2
12 * the Free Software Foundation; either version 2 of the License, or 12 * as published by the Free Software Foundation.
13 * (at your option) any later version.
14 * 13 *
15 * This program is distributed in the hope that it will be useful, 14 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -235,6 +234,7 @@ struct Tcreate {
235 struct v9fs_str name; 234 struct v9fs_str name;
236 u32 perm; 235 u32 perm;
237 u8 mode; 236 u8 mode;
237 struct v9fs_str extension;
238}; 238};
239 239
240struct Rcreate { 240struct Rcreate {
@@ -348,8 +348,6 @@ int v9fs_t_attach(struct v9fs_session_info *v9ses, char *uname, char *aname,
348 348
349int v9fs_t_clunk(struct v9fs_session_info *v9ses, u32 fid); 349int v9fs_t_clunk(struct v9fs_session_info *v9ses, u32 fid);
350 350
351int v9fs_t_flush(struct v9fs_session_info *v9ses, u16 oldtag);
352
353int v9fs_t_stat(struct v9fs_session_info *v9ses, u32 fid, 351int v9fs_t_stat(struct v9fs_session_info *v9ses, u32 fid,
354 struct v9fs_fcall **rcall); 352 struct v9fs_fcall **rcall);
355 353
@@ -366,7 +364,7 @@ int v9fs_t_remove(struct v9fs_session_info *v9ses, u32 fid,
366 struct v9fs_fcall **rcall); 364 struct v9fs_fcall **rcall);
367 365
368int v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name, 366int v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name,
369 u32 perm, u8 mode, struct v9fs_fcall **rcall); 367 u32 perm, u8 mode, char *extension, struct v9fs_fcall **rcall);
370 368
371int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid, 369int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid,
372 u64 offset, u32 count, struct v9fs_fcall **rcall); 370 u64 offset, u32 count, struct v9fs_fcall **rcall);
@@ -374,3 +372,4 @@ int v9fs_t_read(struct v9fs_session_info *v9ses, u32 fid,
374int v9fs_t_write(struct v9fs_session_info *v9ses, u32 fid, u64 offset, 372int v9fs_t_write(struct v9fs_session_info *v9ses, u32 fid, u64 offset,
375 u32 count, const char __user * data, 373 u32 count, const char __user * data,
376 struct v9fs_fcall **rcall); 374 struct v9fs_fcall **rcall);
375int v9fs_printfcall(char *, int, struct v9fs_fcall *, int);