lkml.org 
[lkml]   [2003]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectnfs/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/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.736 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site