aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2014-06-20 13:30:26 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-06-24 18:47:02 -0400
commit343ae531f12b046ddfe54b0aa91b11b257f0c55f (patch)
tree21ac943c7fc2b421f2cb7deb7a5f32745984e764 /fs/nfs/pagelist.c
parentc6639dac5375cef6d058b23c00a67b4a1503907b (diff)
nfs: Fix unused variable error
inode is unused when CONFIG_SUNRPC_DEBUG=n. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r--fs/nfs/pagelist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index 8143d6b1994d..6e2c0bce5926 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -552,7 +552,6 @@ static void nfs_pgio_prepare(struct rpc_task *task, void *calldata)
552int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, 552int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
553 const struct rpc_call_ops *call_ops, int how, int flags) 553 const struct rpc_call_ops *call_ops, int how, int flags)
554{ 554{
555 struct inode *inode = hdr->inode;
556 struct rpc_task *task; 555 struct rpc_task *task;
557 struct rpc_message msg = { 556 struct rpc_message msg = {
558 .rpc_argp = &hdr->args, 557 .rpc_argp = &hdr->args,
@@ -575,8 +574,8 @@ int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr,
575 dprintk("NFS: %5u initiated pgio call " 574 dprintk("NFS: %5u initiated pgio call "
576 "(req %s/%llu, %u bytes @ offset %llu)\n", 575 "(req %s/%llu, %u bytes @ offset %llu)\n",
577 hdr->task.tk_pid, 576 hdr->task.tk_pid,
578 inode->i_sb->s_id, 577 hdr->inode->i_sb->s_id,
579 (unsigned long long)NFS_FILEID(inode), 578 (unsigned long long)NFS_FILEID(hdr->inode),
580 hdr->args.count, 579 hdr->args.count,
581 (unsigned long long)hdr->args.offset); 580 (unsigned long long)hdr->args.offset);
582 581