summaryrefslogtreecommitdiffstats
path: root/fs/cifs/fscache.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-07-16 04:24:54 +0000
committerSteve French <sfrench@us.ibm.com>2010-08-02 12:40:38 +0000
commitd0e6f44e6cc3c7059e8717c452f0999aba507a38 (patch)
treef6195ce1ccd658fc95b60fd22e3e2c3f57d9033e /fs/cifs/fscache.h
parentc5e04a3e4975d11d997528caf5d4880902fa90d8 (diff)
[CIFS] Missing line from previous commit
CC: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/fscache.h')
-rw-r--r--fs/cifs/fscache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/fscache.h b/fs/cifs/fscache.h
index 7d4ff41894b..31b88ec2341 100644
--- a/fs/cifs/fscache.h
+++ b/fs/cifs/fscache.h
@@ -107,13 +107,13 @@ static inline void cifs_fscache_release_inode_cookie(struct inode *inode) {}
static inline void cifs_fscache_set_inode_cookie(struct inode *inode,
struct file *filp) {}
static inline void cifs_fscache_reset_inode_cookie(struct inode *inode) {}
-static inline void cifs_fscache_release_page(struct page *page, gfp_t gfp)
+static inline int cifs_fscache_release_page(struct page *page, gfp_t gfp)
{
return 1; /* May release page */
}
-static inline int cifs_fscache_invalidate_page(struct page *page,
- struct inode *) {}
+static inline void cifs_fscache_invalidate_page(struct page *page,
+ struct inode *inode) {}
static inline int
cifs_readpage_from_fscache(struct inode *inode, struct page *page)
{