[PATCH 28/19] FS-Cache: NFS: Handle caching being disabled correctly

From: David Howells
Date: Thu Nov 23 2006 - 08:20:55 EST



Make the prototypes of the cache-disabled stubs consistent with the
cache-enabled functions

Signed-Off-By: David Howells <dhowells@xxxxxxxxxx>
---

fs/nfs/fscache.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h
index c363421..4e42bc9 100644
--- a/fs/nfs/fscache.h
+++ b/fs/nfs/fscache.h
@@ -445,7 +445,7 @@ static inline void nfs_fscache_renew_fh_
static inline void nfs_fscache_disable_fh_cookie(struct inode *inode) {}
static inline void nfs_fscache_set_fh_cookie(struct inode *inode, struct file *filp) {}
static inline void nfs_fscache_install_vm_ops(struct inode *inode, struct vm_area_struct *vma) {}
-static inline int nfs_fscache_release_page(struct page *page)
+static inline int nfs_fscache_release_page(struct page *page, gfp_t gfp)
{
return 1; /* True: may release page */
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/