]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10f315dd4aad01700a17acbd6e0c3f58a55b8e99
tree66e350123f674f0fbcdd558421d4bd29eea4e69c
parenta130f03f535cc7f5c16cef30dcd043e9182a1d64
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