From: Trond Myklebust Date: Thu, 27 Oct 2005 23:10:09 +0000 (-0400) Subject: NFS: Fix a bad cast in nfs3_read_done X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34123da66e613602de5a886b05c875b6a91b8ed2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git NFS: Fix a bad cast in nfs3_read_done Signed-off-by: Trond Myklebust --- 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;