linux/fs/afs
Matt Kraai 6566abdbd0 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 <kraai@ftbfs.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-17 09:55:19 -07:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cache.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
callback.c
cell.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cmservice.c
dir.c constify dentry_operations: AFS 2009-03-27 14:44:00 -04:00
file.c AFS: Guard afs_file_readpage_read_complete() definition with CONFIG_AFS_FSCACHE 2009-04-17 09:55:19 -07:00
flock.c
fsclient.c
inode.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
internal.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Kconfig FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
main.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Makefile FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
misc.c
mntpt.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
netdevices.c afs: BUG to BUG_ON changes 2009-04-09 10:41:19 -07:00
proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
rxrpc.c
security.c
server.c fs: replace NIPQUAD() 2008-10-31 00:56:28 -07:00
super.c
vlclient.c
vlocation.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
vnode.c
volume.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
write.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00