projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] v9fs: zero copy implementation
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
fs
/
9p
/
fid.h
diff --git
a/fs/9p/fid.h
b/fs/9p/fid.h
index
7db478c
..
84c673a
100644
(file)
--- a/
fs/9p/fid.h
+++ b/
fs/9p/fid.h
@@
-25,6
+25,7
@@
#define FID_OP 0
#define FID_WALK 1
#define FID_OP 0
#define FID_WALK 1
+#define FID_CREATE 2
struct v9fs_fid {
struct list_head list; /* list of fids associated with a dentry */
struct v9fs_fid {
struct list_head list; /* list of fids associated with a dentry */
@@
-52,6
+53,8
@@
struct v9fs_fid {
struct v9fs_session_info *v9ses; /* session info for this FID */
};
struct v9fs_session_info *v9ses; /* session info for this FID */
};
-struct v9fs_fid *v9fs_fid_lookup(struct dentry *dentry, int type);
+struct v9fs_fid *v9fs_fid_lookup(struct dentry *dentry);
+struct v9fs_fid *v9fs_fid_get_created(struct dentry *);
void v9fs_fid_destroy(struct v9fs_fid *fid);
void v9fs_fid_destroy(struct v9fs_fid *fid);
-struct v9fs_fid *v9fs_fid_create(struct dentry *);
+struct v9fs_fid *v9fs_fid_create(struct dentry *,
+ struct v9fs_session_info *v9ses, int fid, int create);