OSDN Git Service

staging/lustre/ptlrpc: Remove stray cfs_daemonize comment
authorOleg Drokin <green@linuxhacker.ru>
Tue, 4 Aug 2015 01:57:44 +0000 (21:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:55:44 +0000 (11:55 -0700)
Ever since daemonize was removed in 3.18, there are no longer
any flags passed to kthread_run.
Most of the comments were deleted, but this one lingered on
until now.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/pinger.c

index d05c37c..f8edb79 100644 (file)
@@ -318,8 +318,6 @@ int ptlrpc_start_pinger(void)
 
        strcpy(pinger_thread.t_name, "ll_ping");
 
-       /* CLONE_VM and CLONE_FILES just avoid a needless copy, because we
-        * just drop the VM and FILES in cfs_daemonize_ctxt() right away. */
        rc = PTR_ERR(kthread_run(ptlrpc_pinger_main, &pinger_thread,
                                 "%s", pinger_thread.t_name));
        if (IS_ERR_VALUE(rc)) {