Use helpers to obtain task pid in printks
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / cifs / connect.c
index 4af3588c1a9615b39976bac9fadc3487a64025eb..370866cb3d482c5d061a065a026a0eb0197173c2 100644 (file)
@@ -352,7 +352,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
 
        current->flags |= PF_MEMALLOC;
        server->tsk = current;  /* save process info to wake at shutdown */
-       cFYI(1, ("Demultiplex PID: %d", current->pid));
+       cFYI(1, ("Demultiplex PID: %d", task_pid_nr(current)));
        write_lock(&GlobalSMBSeslock);
        atomic_inc(&tcpSesAllocCount);
        length = tcpSesAllocCount.counter;