Fix up the NFS filesystem caching patch for when caching is disabled. Signed-Off-By: David Howells <dhowells@xxxxxxxxxx> --- fs/nfs/fscache.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h index 48a993a..8899f16 100644 --- a/fs/nfs/fscache.h +++ b/fs/nfs/fscache.h @@ -446,7 +446,10 @@ static inline void nfs_fscache_zap_fh_co static inline void nfs_fscache_renew_fh_cookie(struct nfs_server *server, struct nfs_inode *nfsi) {} static inline void nfs_fscache_disable_fh_cookie(struct inode *inode) {} static inline void nfs_fscache_install_vm_ops(struct inode *inode, struct vm_area_struct *vma) {} -static inline void nfs_fscache_release_page(struct page *page) {} +static inline int nfs_fscache_release_page(struct page *page) +{ + return 1; /* True: may release page */ +} static inline void nfs_fscache_invalidate_page(struct page *page, struct inode *inode, unsigned long offset) - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html