nfsd4: fix, consolidate client_has_state
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 29 May 2012 20:37:44 +0000 (16:37 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:30:39 +0000 (20:30 -0400)
commit6eccece90b6addf80ef9e6db79b0bc873301034b
tree89ca95d5ea308a87c0162fdc23950e1612f5b3d6
parentb9831b59f31eca65e1beec01fadf02ca82485813
nfsd4: fix, consolidate client_has_state

Whoops: first, I reimplemented the already-existing has_resources
without noticing; second, I got the test backwards.  I did pick a better
name, though.  Combine the two....

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