From: Bryan Schumaker Date: Tue, 22 May 2012 14:10:03 +0000 (-0400) Subject: NFS: Fix compiler warnings X-Git-Tag: v3.5-rc1~52^2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=497826af60f812240ed5b6ba80541f7c9f2154d9;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed