nfsd: improve client_has_state to check for unused openowners
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 15 Oct 2015 20:11:01 +0000 (16:11 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 23 Oct 2015 19:57:31 +0000 (15:57 -0400)
commit4eaea13425078272895ec37814c6878d78b8db9f
treea24bbc91aac3af627870e62b998218951e9a1c71
parent2b63482185e6054cc11ca6d6c073f90160c161fd
nfsd: improve client_has_state to check for unused openowners

At least in the v4.0 case openowners can hang around for a while after
last close, but they shouldn't really block (for example), a new mount
with a different principal.

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