NFS: Fix compiler warnings
authorBryan Schumaker <bjschuma@netapp.com>
Tue, 22 May 2012 14:10:03 +0000 (10:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2012 20:43:04 +0000 (16:43 -0400)
commit497826af60f812240ed5b6ba80541f7c9f2154d9
treeb741b4f133aa89a6c6e50bf1a1704f550e59cf9d
parentbd4aeffb5b89070ae93c579f1d5a0758f7123e8b
NFS: Fix compiler warnings

The "struct inode *inode" was only used in a dprintk, so compiling with
CONFIG_SUNRPC_DEBUG off triggers a warning.  To get around this, I
remove the "struct inode *inode" variable and instead change the
dprintk()s to use hdr->inode instead.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c