commit | 34123da66e613602de5a886b05c875b6a91b8ed2 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Oct 27 19:10:09 2005 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Oct 27 19:10:09 2005 -0400 |
tree | 150149bf91537d302da6c50a5b8eed19ec2c2400 | |
parent | 6fa05b17367f04ada501e89d3b9cb56adec0d930 [diff] |
NFS: Fix a bad cast in nfs3_read_done Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index df80477..e4a1cd4 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c
@@ -735,7 +735,7 @@ static void nfs3_read_done(struct rpc_task *task) { - struct nfs_write_data *data = (struct nfs_write_data *) task->tk_calldata; + struct nfs_read_data *data = (struct nfs_read_data *) task->tk_calldata; if (nfs3_async_handle_jukebox(task)) return;