X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fvnode.h;h=b86a97102e8bcb616a37fc430ba0525bc2af0da8;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=3f0602debed5258d2bfa715e077a08207ab8b469;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/afs/vnode.h b/fs/afs/vnode.h index 3f0602deb..b86a97102 100644 --- a/fs/afs/vnode.h +++ b/fs/afs/vnode.h @@ -13,9 +13,9 @@ #define _LINUX_AFS_VNODE_H #include -#include #include "server.h" #include "kafstimod.h" +#include "cache.h" #ifdef __KERNEL__ @@ -32,8 +32,8 @@ struct afs_cache_vnode afs_dataversion_t data_version; /* data version */ }; -#ifdef CONFIG_AFS_FSCACHE -extern struct fscache_cookie_def afs_vnode_cache_index_def; +#ifdef AFS_CACHING_SUPPORT +extern struct cachefs_index_def afs_vnode_cache_index_def; #endif /*****************************************************************************/ @@ -47,8 +47,8 @@ struct afs_vnode struct afs_volume *volume; /* volume on which vnode resides */ struct afs_fid fid; /* the file identifier for this inode */ struct afs_file_status status; /* AFS status info for this file */ -#ifdef CONFIG_AFS_FSCACHE - struct fscache_cookie *cache; /* caching cookie */ +#ifdef AFS_CACHING_SUPPORT + struct cachefs_cookie *cache; /* caching cookie */ #endif wait_queue_head_t update_waitq; /* status fetch waitqueue */