Commit 34123da6 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Fix a bad cast in nfs3_read_done

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 6fa05b17
......@@ -735,7 +735,7 @@ extern u32 *nfs3_decode_dirent(u32 *, struct nfs_entry *, int);
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;
......
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