X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fuse%2Fdircache.c;h=86760f0fe5f41969d11b87b4917c3e63f35463fb;hb=825d855b225c7c76371c72eae4d505a32c374007;hp=1028926084f1e47307680dc9b78b8be865e7755b;hpb=9a8889e4d0c532b9f77af3a9cc7aae06adebfb83;p=libguestfs.git diff --git a/fuse/dircache.c b/fuse/dircache.c index 1028926..86760f0 100644 --- a/fuse/dircache.c +++ b/fuse/dircache.c @@ -37,17 +37,9 @@ #include "hash.h" #include "hash-pjw.h" +#include "guestmount.h" #include "dircache.h" -extern int verbose; -extern int dir_cache_timeout; - -static inline char * -bad_cast (char const *s) -{ - return (char *) s; -} - /* Note on attribute caching: FUSE can cache filesystem attributes for * short periods of time (configurable via -o attr_timeout). It * doesn't cache xattrs, and in any case FUSE caching doesn't solve