SUNRPC: Fix a bug in gss_create_upcall
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 May 2013 17:46:33 +0000 (10:46 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 May 2013 17:49:58 +0000 (10:49 -0700)
commitd36ccb9cec22a09a12d9ef8234d634f840d7ae4b
tree98c0a98a69aa2c7cf8ba99c92b0de8594da9b385
parentf722406faae2d073cc1d01063d1123c35425939e
SUNRPC: Fix a bug in gss_create_upcall

If wait_event_interruptible_timeout() is successful, it returns
the number of seconds remaining until the timeout. In that
case, we should be retrying the upcall.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c