From 8e5678aebdbdeca5472c7f7567f930279ae82122 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 17 Apr 2009 12:56:38 +0100 Subject: [PATCH] --- yaml --- r: 143506 b: refs/heads/master c: 6566abdbd0566fc1b5950c9f87ef57c7443d6fa8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/afs/file.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0a282658816b..e6ec07fad237 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d29a2e943867bfa48f72ee6e99723a1b29fe6f7e +refs/heads/master: 6566abdbd0566fc1b5950c9f87ef57c7443d6fa8 diff --git a/trunk/fs/afs/file.c b/trunk/fs/afs/file.c index 7a1d942ef68d..0149dab365e7 100644 --- a/trunk/fs/afs/file.c +++ b/trunk/fs/afs/file.c @@ -102,6 +102,7 @@ int afs_release(struct inode *inode, struct file *file) return 0; } +#ifdef CONFIG_AFS_FSCACHE /* * deal with notification that a page was read from the cache */ @@ -117,6 +118,7 @@ static void afs_file_readpage_read_complete(struct page *page, SetPageUptodate(page); unlock_page(page); } +#endif /* * AFS read page from file, directory or symlink