]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dcad5bbe00dd813a3d8f630b4afac3be2b534ab
treebcdee3f287ae3cdcacf4412df718a8ed5cc4c38f
parent063e726c61d987c02819cd0f4c272c9e411b909f
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