]> 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)
commitcf4cc4df658472fb43695c487a66a920509a63b1
treebf6e59c6505fe4819bc6daaa9c357be6e6d4f5c9
parentb2f1a4c17a8b92b0b261287797d6bcc0f3b3220d
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