linux/fs/afs
Arnd Bergmann 51c89e6a3b afs: Conditionalise a new unused variable
The bulk readpages support introduced a harmless warning:

fs/afs/file.c: In function 'afs_readpages_page_done':
fs/afs/file.c:270:20: error: unused variable 'vnode' [-Werror=unused-variable]

This adds an #ifdef to match the user of that variable.  The user of the
variable has to be conditional because it accesses a member of a struct
that is also conditional.

Fixes: 91b467e0a3 ("afs: Make afs_readpages() fetch data in bulk")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-16 13:30:52 -05:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c
callback.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
cell.c
cmservice.c afs: Refcount the afs_call struct 2017-01-09 11:10:02 +00:00
dir.c
file.c afs: Conditionalise a new unused variable 2017-01-16 13:30:52 -05:00
flock.c
fsclient.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
inode.c
internal.h afs: Refcount the afs_call struct 2017-01-09 11:10:02 +00:00
Kconfig
main.c afs: Add some tracepoints 2017-01-09 09:18:13 +00:00
Makefile
misc.c
mntpt.c
netdevices.c
proc.c
rxrpc.c afs: Refcount the afs_call struct 2017-01-09 11:10:02 +00:00
security.c
server.c
super.c
vlclient.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
vlocation.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
vnode.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
volume.c afs: Make afs_readpages() fetch data in bulk 2017-01-06 16:54:41 +00:00
write.c afs: Make afs_fs_fetch_data() take a list of pages 2017-01-06 16:54:41 +00:00