Messages in this thread Patch in this message | | | Date | Sat, 4 Jan 2003 03:59:26 -0800 | From | William Lee Irwin III <> | Subject | nfs/write.c warning |
| |
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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |