]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/fuse/fuse_i.h
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
[karo-tx-linux.git] / fs / fuse / fuse_i.h
index c08e7e890923ef200fa2d065dad9fdd6de566641..6fc5aedaa0d52b3d86d94bde490aa5711e47cfd1 100644 (file)
@@ -465,6 +465,9 @@ struct fuse_conn {
 
        /** Version counter for attribute changes */
        u64 attr_version;
+
+       /** Called on final put */
+       void (*release)(struct fuse_conn *);
 };
 
 static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb)
@@ -490,7 +493,7 @@ static inline u64 get_node_id(struct inode *inode)
 /** Device operations */
 extern const struct file_operations fuse_dev_operations;
 
-extern struct dentry_operations fuse_dentry_operations;
+extern const struct dentry_operations fuse_dentry_operations;
 
 /**
  * Get a filled in inode
@@ -649,6 +652,11 @@ void fuse_invalidate_entry_cache(struct dentry *entry);
  */
 struct fuse_conn *fuse_conn_get(struct fuse_conn *fc);
 
+/**
+ * Initialize fuse_conn
+ */
+int fuse_conn_init(struct fuse_conn *fc, struct super_block *sb);
+
 /**
  * Release reference to fuse_conn
  */