• Steve French's avatar
    [CIFS] cleanup cifsd completion · cf432eb5
    Steve French authored
    Was a holdover from the old kernel_thread based cifsd
    code. We needed to know that the thread had set the task variable
    before proceeding. Now that kthread_run returns the new task, this
    doesn't appear to be needed anymore.
    
    As best I can tell, this sleep was intended to try to prevent
    cifs_umount from freeing the cifsSesInfo struct before cifsd had
    exited. Now that cifsd is using the kthread API, we know that
    when kthread_stop returns that cifsd has exited, so I don't
    think this is needed any longer.
    Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
    Acked-by: default avatarChristop Hellwig <hch@infradead.org>
    Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
    cf432eb5
connect.c 108 KB