]> err.no Git - linux-2.6/blobdiff - fs/fuse/fuse_i.h
[PATCH] fuse: add O_ASYNC support to FUSE device
[linux-2.6] / fs / fuse / fuse_i.h
index 4a83adfec968ebae108b9ae71802e14db6ef6dbb..e5cb46b784376faa3fce884491c4a28400ec7c9f 100644 (file)
@@ -318,6 +318,9 @@ struct fuse_conn {
 
        /** kobject */
        struct kobject kobj;
+
+       /** O_ASYNC requests */
+       struct fasync_struct *fasync;
 };
 
 static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb)
@@ -346,7 +349,7 @@ static inline u64 get_node_id(struct inode *inode)
 }
 
 /** Device operations */
-extern struct file_operations fuse_dev_operations;
+extern const struct file_operations fuse_dev_operations;
 
 /**
  * This is the single global spinlock which protects FUSE's structures