staging/lustre: Don't call blocking funcitons when !RUNNABLE
authorOleg Drokin <green@linuxhacker.ru>
Sun, 8 Mar 2015 00:24:29 +0000 (19:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 09:35:44 +0000 (10:35 +0100)
commit834fe2e18349f024c0e565a0cdbf6bb1e0ed0ce5
tree4eb58a462610ad94958fe5728923e5fe0722ac4d
parentaac2e54f9eb63d5cfaac1a115a939508712050da
staging/lustre: Don't call blocking funcitons when !RUNNABLE

Move setting of TASK_INTERRUPTIBLE just around schedule call in
libcfs_sock_accept.

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