summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-28 01:10:09 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-28 01:10:09 +0200
commit34123da66e613602de5a886b05c875b6a91b8ed2 (patch)
tree150149bf91537d302da6c50a5b8eed19ec2c2400 /fs/nfs/nfs3proc.c
parentRevert "RPC: stops the release_pipe() funtion from being called twice" (diff)
downloadlinux-34123da66e613602de5a886b05c875b6a91b8ed2.tar.xz
linux-34123da66e613602de5a886b05c875b6a91b8ed2.zip
NFS: Fix a bad cast in nfs3_read_done
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to '')
-rw-r--r--fs/nfs/nfs3proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index df80477c5af4..e4a1cd48195e 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -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;