]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: nfsd4: reboot hash
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 24 Jun 2005 05:03:52 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:06:33 +0000 (00:06 -0700)
commita55370a3c0106106a975c5a09cee800611d0cf50
tree408d5dc0ecf970c103ef091388e66da267adb2e2
parent7dea9d280c96f90382ec5d5709433e66a0993ec9
[PATCH] knfsd: nfsd4: reboot hash

For the purposes of reboot recovery we keep a directory with subdirectories
each having a name that is the ascii hex representation of the md5 sum of a
client identifier for an active client.

This adds the code to calculate that name.  We also use it for the purposes of
comparing clients, so if someone ever manages to find two client names that
are md5 collisions, then we'll return clid_inuse to the second.

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/Kconfig
fs/nfsd/Makefile
fs/nfsd/nfs4recover.c [new file with mode: 0644]
fs/nfsd/nfs4state.c
include/linux/nfsd/state.h