]> git.karo-electronics.de Git - linux-beck.git/commit
svcrpc: don't set then immediately clear XPT_DEFERRED
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 25 Oct 2010 16:50:15 +0000 (12:50 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Nov 2010 23:35:11 +0000 (18:35 -0500)
commit62bac4af3d778f6d06d351c0442008967c512588
treeb1e0b336d0f23f11896d81e48f2e8f66c2d8f75d
parent43b0178eda1e7e5d1e205bbfd076ab5d6ecacc02
svcrpc: don't set then immediately clear XPT_DEFERRED

There's no harm to doing this, since the only caller will immediately
call svc_enqueue() afterwards, ensuring we don't miss the remaining
deferred requests just because XPT_DEFERRED was briefly cleared.

But why not just do this the simple way?

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c