diff options
author | Steve French <sfrench@us.ibm.com> | 2010-07-16 06:24:54 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 14:40:38 +0200 |
commit | d0e6f44e6cc3c7059e8717c452f0999aba507a38 (patch) | |
tree | f6195ce1ccd658fc95b60fd22e3e2c3f57d9033e /fs/cifs/fscache.h | |
parent | [CIFS] Fix build break when CONFIG_CIFS_FSCACHE disabled (diff) | |
download | linux-d0e6f44e6cc3c7059e8717c452f0999aba507a38.tar.xz linux-d0e6f44e6cc3c7059e8717c452f0999aba507a38.zip |
[CIFS] Missing line from previous commit
CC: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | fs/cifs/fscache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/fscache.h b/fs/cifs/fscache.h index 7d4ff41894bb..31b88ec2341e 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) { |