linux-next: build warning after merge of the vfs tree

From: Stephen Rothwell
Date: Mon Apr 13 2015 - 00:00:48 EST


Hi Al,

After merging the vfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/nfs/file.c:677:9: warning: unused variable 'pos' [-Wunused-variable]
loff_t pos = iocb->ki_pos;
^

Introduced by commit f52cbe4c9838 ("nfs: generic_write_checks()
shouldn't be done on swapout...") which removed the last non debug use
of "pos".
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgpAmnaptIxd4.pgp
Description: OpenPGP digital signature