* nfs/write.c warning
@ 2003-01-04 11:59 William Lee Irwin III
0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2003-01-04 11:59 UTC (permalink / raw)
To: linux-kernel; +Cc: nfs, trivial
This trivially corrects an unused variable warning in nfs/write.c:
diff -urpN mm2-2.5.54-1/fs/nfs/write.c mm2-2.5.54-2/fs/nfs/write.c
--- mm2-2.5.54-1/fs/nfs/write.c 2003-01-01 19:22:39.000000000 -0800
+++ mm2-2.5.54-2/fs/nfs/write.c 2003-01-03 03:31:09.000000000 -0800
@@ -828,7 +828,6 @@ nfs_writeback_done(struct rpc_task *task
struct nfs_write_data *data = (struct nfs_write_data *) task->tk_calldata;
struct nfs_writeargs *argp = &data->args;
struct nfs_writeres *resp = &data->res;
- struct inode *inode = data->inode;
struct nfs_page *req;
struct page *page;
@@ -862,7 +861,7 @@ nfs_writeback_done(struct rpc_task *task
if (time_before(complain, jiffies)) {
dprintk("NFS: faulty NFS server %s:"
" (committed = %d) != (stable = %d)\n",
- NFS_SERVER(inode)->hostname,
+ NFS_SERVER(data->inode)->hostname,
data->verf.committed, argp->stable);
complain = jiffies + 300 * HZ;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-04 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-04 11:59 nfs/write.c warning William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox