21 #ifndef _CIFS_FSCACHE_H
22 #define _CIFS_FSCACHE_H
28 #ifdef CONFIG_CIFS_FSCACHE
60 static inline void cifs_fscache_invalidate_page(
struct page *
page,
67 static inline int cifs_readpage_from_fscache(
struct inode *inode,
70 if (CIFS_I(inode)->fscache)
76 static inline int cifs_readpages_from_fscache(
struct inode *inode,
81 if (CIFS_I(inode)->fscache)
87 static inline void cifs_readpage_to_fscache(
struct inode *inode,
108 struct file *filp) {}
115 static inline void cifs_fscache_invalidate_page(
struct page *page,
116 struct inode *inode) {}
118 cifs_readpage_from_fscache(
struct inode *inode,
struct page *page)
123 static inline int cifs_readpages_from_fscache(
struct inode *inode,
131 static inline void cifs_readpage_to_fscache(
struct inode *inode,
132 struct page *page) {}