nfsd: get rid of cl_recdir field
authorJeff Layton <jlayton@redhat.com>
Mon, 12 Nov 2012 20:00:57 +0000 (15:00 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 12 Nov 2012 23:55:11 +0000 (18:55 -0500)
commit2216d449a97927cc105912e337d169cd4d4db548
tree66e350123f674f0fbcdd558421d4bd29eea4e69c
parentac55fdc408039b425a2fa3cbcaed7444e5339f9a
nfsd: get rid of cl_recdir field

Remove the cl_recdir field from the nfs4_client struct. Instead, just
compute it on the fly when and if it's needed, which is now only when
the legacy client tracking code is in effect.

The error handling in the legacy client tracker is also changed to
handle the case where md5 is unavailable. In that case, we'll warn
the admin with a KERN_ERR message and disable the client tracking.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h