summaryrefslogtreecommitdiffstats
path: root/ipc/syscall.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-09-20 04:55:06 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-09-20 05:49:30 +0200
commit06497524589f2a7717da33969d541674e0a27da6 (patch)
tree3d7d21b9dd325c36e11a923f186059f587d7724d /ipc/syscall.c
parentMerge remote branch 'trond/bugfixes' into for-2.6.37 (diff)
downloadlinux-06497524589f2a7717da33969d541674e0a27da6.tar.xz
linux-06497524589f2a7717da33969d541674e0a27da6.zip
nfsd4: fix hang on fast-booting nfs servers
The last_close field of a cache_detail is initialized to zero, so the condition detail->last_close < seconds_since_boot() - 30 may be false even for a cache that was never opened. However, we want to immediately fail upcalls to caches that were never opened: in the case of the auth_unix_gid cache, especially, which may never be opened by mountd (if the --manage-gids option is not set), we want to fail the upcall immediately. Otherwise client requests will be dropped unnecessarily on reboot. Also document these conditions. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions