aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-01-17 01:14:45 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-17 02:15:31 -0500
commit361b1eb55ea84181505c7f0674ca1205da1127ab (patch)
treef0151b501120447eeb67d73e90142c079c7650e4 /fs/fuse/fuse_i.h
parent9b9a04693fa2d9e60933154e4c4aca83c219ef0a (diff)
[PATCH] fuse: READ request initialization
Add a separate function for filling in the READ request. This will make it possible to send asynchronous READ requests as well as synchronous ones. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 926b41c959d5..7ed1d3c53b8a 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -169,6 +169,7 @@ struct fuse_req {
169 struct fuse_release_in release_in; 169 struct fuse_release_in release_in;
170 struct fuse_init_in init_in; 170 struct fuse_init_in init_in;
171 struct fuse_init_out init_out; 171 struct fuse_init_out init_out;
172 struct fuse_read_in read_in;
172 } misc; 173 } misc;
173 174
174 /** page vector */ 175 /** page vector */
@@ -354,11 +355,10 @@ void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req,
354 unsigned long nodeid, u64 nlookup); 355 unsigned long nodeid, u64 nlookup);
355 356
356/** 357/**
357 * Send READ or READDIR request 358 * Initialize READ or READDIR request
358 */ 359 */
359size_t fuse_send_read_common(struct fuse_req *req, struct file *file, 360void fuse_read_fill(struct fuse_req *req, struct file *file,
360 struct inode *inode, loff_t pos, size_t count, 361 struct inode *inode, loff_t pos, size_t count, int opcode);
361 int isdir);
362 362
363/** 363/**
364 * Send OPEN or OPENDIR request 364 * Send OPEN or OPENDIR request