]> err.no Git - linux-2.6/blobdiff - fs/fuse/fuse_i.h
[PATCH] fuse: add asynchronous request support
[linux-2.6] / fs / fuse / fuse_i.h
index e6381db41df918ad425f701d4bf627363508b9d8..145098056ca6556749f12668eaead0006598cf3e 100644 (file)
@@ -120,6 +120,8 @@ enum fuse_req_state {
        FUSE_REQ_FINISHED
 };
 
+struct fuse_conn;
+
 /**
  * A request to the client
  */
@@ -186,6 +188,9 @@ struct fuse_req {
 
        /** File used in the request (or NULL) */
        struct file *file;
+
+       /** Request completion callback */
+       void (*end)(struct fuse_conn *, struct fuse_req *);
 };
 
 /**