]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix compile on non-x86
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 20 Aug 2014 20:18:32 +0000 (16:18 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Aug 2014 19:51:35 +0000 (15:51 -0400)
commitd131f87c5f723611fa0740f7f931aba9ffc17005
tree0dfb859c94c64bc53c491038d36ca1d06cafce8b
parent67cdc262dfe3d49ad5c8bdf41366881a01bfd21a
SUNRPC: Fix compile on non-x86

current_task appears to be x86-only, oops.

Let's just delete this check entirely:

Any developer that adds a new user without setting rq_task will get a
crash the first time they test it.  I also don't think there are
normally any important locks held here, and I can't see any other reason
why killing a server thread would bring the whole box down.

So the effort to fail gracefully here looks like overkill.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: ca1b82d07931 "SUNRPC: get rid of the request wait queue"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c