diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-23 22:03:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:06:33 -0700 |
commit | a55370a3c0106106a975c5a09cee800611d0cf50 (patch) | |
tree | 408d5dc0ecf970c103ef091388e66da267adb2e2 /fs/jffs2/gc.c | |
parent | 7dea9d280c96f90382ec5d5709433e66a0993ec9 (diff) |
[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>
Diffstat (limited to 'fs/jffs2/gc.c')
0 files changed, 0 insertions, 0 deletions