--- zzzz-none-000/linux-2.6.19.2/fs/fuse/fuse_i.h 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/fs/fuse/fuse_i.h 2008-07-04 09:37:55.000000000 +0000 @@ -6,6 +6,12 @@ See the file COPYING. */ +#include + +#if defined(__arm__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) +#define DCACHE_BUG +#endif + #include #include #include @@ -298,6 +304,9 @@ reply, before any other request, and never cleared */ unsigned conn_error : 1; + /** Connection successful. Only set in INIT */ + unsigned conn_init : 1; + /** Do readpages asynchronously? Only set in INIT */ unsigned async_read : 1; @@ -339,6 +348,9 @@ /** Is interrupt not implemented by fs? */ unsigned no_interrupt : 1; + /** Is bmap not implemented by fs? */ + unsigned no_bmap : 1; + /** The number of requests waiting for completion */ atomic_t num_waiting; @@ -365,6 +377,9 @@ /** Key for lock owner ID scrambling */ u32 scramble_key[4]; + + /** Reserved request for the DESTROY message */ + struct fuse_req *destroy_req; }; static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb) @@ -543,3 +558,8 @@ * Remove connection from control filesystem */ void fuse_ctl_remove_conn(struct fuse_conn *fc); + +/** + * Is file type valid? + */ +int fuse_valid_type(int m);