Commit 70c2ef07 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] nfs_write.c warning

From:  William Lee Irwin III <wli@holomorphy.com>

  This trivially corrects an unused variable warning in nfs/write.c:
parent 2dc57c74
...@@ -829,7 +829,6 @@ nfs_writeback_done(struct rpc_task *task) ...@@ -829,7 +829,6 @@ nfs_writeback_done(struct rpc_task *task)
struct nfs_write_data *data = (struct nfs_write_data *) task->tk_calldata; struct nfs_write_data *data = (struct nfs_write_data *) task->tk_calldata;
struct nfs_writeargs *argp = &data->args; struct nfs_writeargs *argp = &data->args;
struct nfs_writeres *resp = &data->res; struct nfs_writeres *resp = &data->res;
struct inode *inode = data->inode;
struct nfs_page *req; struct nfs_page *req;
struct page *page; struct page *page;
...@@ -863,7 +862,7 @@ nfs_writeback_done(struct rpc_task *task) ...@@ -863,7 +862,7 @@ nfs_writeback_done(struct rpc_task *task)
if (time_before(complain, jiffies)) { if (time_before(complain, jiffies)) {
dprintk("NFS: faulty NFS server %s:" dprintk("NFS: faulty NFS server %s:"
" (committed = %d) != (stable = %d)\n", " (committed = %d) != (stable = %d)\n",
NFS_SERVER(inode)->hostname, NFS_SERVER(data->inode)->hostname,
data->verf.committed, argp->stable); data->verf.committed, argp->stable);
complain = jiffies + 300 * HZ; complain = jiffies + 300 * HZ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment