nfsd4: stop grace_time update at end of grace period
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 15 Sep 2014 15:05:46 +0000 (11:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 17 Sep 2014 20:33:18 +0000 (16:33 -0400)
commitbea57fe45ba23995dcf954e66d29625944a1d039
treebcdee3f287ae3cdcacf4412df718a8ed5cc4c38f
parent65decb650a95b00301e7ea1b75a65d64c52132c7
nfsd4: stop grace_time update at end of grace period

The attempt to automatically set a new grace period time at the end of
the grace period isn't really helpful.  We'll probably shut down and
reboot before we actually make use of the new grace period time anyway.
So may as well leave it up to the init system to get this right.

This just confuses people when they see /proc/fs/nfsd/nfsv4gracetime
change from what they set it to.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c