]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4098b5bf9aeadde92fb649b55d887723b14a7968
treeb741b4f133aa89a6c6e50bf1a1704f550e59cf9d
parent55526d2b714b4023ad5275f31755420d865dd6c8
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