Reported-by: Al Viro <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
---
 fs/cifs/connect.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 729514c..ceab134 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1791,8 +1791,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info)
         * this will succeed. No need for try_module_get().
         */
        __module_get(THIS_MODULE);
-       tcp_ses->tsk = kthread_run((void *)(void *)cifs_demultiplex_thread,
-                                 tcp_ses, "cifsd");
+       tcp_ses->tsk = kthread_run(cifs_demultiplex_thread, tcp_ses, "cifsd");
        if (IS_ERR(tcp_ses->tsk)) {
                rc = PTR_ERR(tcp_ses->tsk);
                cERROR(1, "error %d create cifsd thread", rc);
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to