Skip to content

Commit

Permalink
NFS: Fix a bad cast in nfs3_read_done
Browse files Browse the repository at this point in the history
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 27, 2005
1 parent 6fa05b1 commit 34123da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfs3proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 34123da

Please sign in to comment.