From: Matt Kraai Date: Fri, 17 Apr 2009 11:56:38 +0000 (+0100) Subject: AFS: Guard afs_file_readpage_read_complete() definition with CONFIG_AFS_FSCACHE X-Git-Tag: v2.6.30-rc3~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6566abdbd0566fc1b5950c9f87ef57c7443d6fa8;p=pandora-kernel.git AFS: Guard afs_file_readpage_read_complete() definition with CONFIG_AFS_FSCACHE If CONFIG_AFS_FSCACHE is not defined, the following warning is displayed when fs/afs/file.c is compiled: fs/afs/file.c:111: warning: ‘afs_file_readpage_read_complete’ defined but not used This occurs because all calls to this function are guarded by CONFIG_AFS_FSCACHE. Thus, guard its definition as well. Signed-off-by: Matt Kraai Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed