Message ID | 08bbf81e5da33b1a4a6ce8af119acfd2fb8a2760.1384183054.git.liwang@ubuntukylin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/cifs/fscache.c b/fs/cifs/fscache.c index 8d4b7bc..168f184 100644 --- a/fs/cifs/fscache.c +++ b/fs/cifs/fscache.c @@ -223,6 +223,13 @@ void __cifs_readpage_to_fscache(struct inode *inode, struct page *page) fscache_uncache_page(CIFS_I(inode)->fscache, page); } +void __cifs_fscache_readpage_cancel(struct inode *inode, struct page *page) +{ + cifs_dbg(FYI, "%s: (fsc: %p, i: %p)\n", + __func__, CIFS_I(inode)->fscache, inode); + fscache_readpage_cancel(CIFS_I(inode)->fscache, page); +} + void __cifs_fscache_readpages_cancel(struct inode *inode, struct list_head *pages) { cifs_dbg(FYI, "%s: (fsc: %p, i: %p)\n",
Implement the routine for uncaching single no-data page, typically in readpage(). Signed-off-by: Li Wang <liwang@ubuntukylin.com> --- fs/cifs/fscache.c | 7 +++++++ 1 file changed, 7 insertions(+)