]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: set timeparms.to_maxval in setup_callback_client
authorJeff Layton <jlayton@redhat.com>
Tue, 15 Apr 2014 12:51:48 +0000 (08:51 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 18 Apr 2014 12:34:31 +0000 (14:34 +0200)
commit2912acbcb17e7c06fd0c6013d951c48241a7ef23
treebf6e59c6505fe4819bc6daaa9c357be6e6d4f5c9
parent3c4c6711f98afdd7593c3b41bfa151474d276a6f
nfsd: set timeparms.to_maxval in setup_callback_client

...otherwise the logic in the timeout handling doesn't work correctly.

Spotted-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c