diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-13 17:46:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-16 21:30:52 +0300 |
commit | 51c89e6a3bf68d544e29b234c2cef6ffb73277a1 (patch) | |
tree | c77cbdcbaf695adfb44269390dd668a96b834b86 /net/netlink/af_netlink.c | |
parent | 4b5b1ac5c0b7e565ea5ef0031439bffedce12ff9 (diff) | |
download | linux-51c89e6a3bf68d544e29b234c2cef6ffb73277a1.tar.xz |
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: 91b467e0a3f5 ("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>
Diffstat (limited to 'net/netlink/af_netlink.c')
0 files changed, 0 insertions, 0 deletions