diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-24 01:03:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:33 -0400 |
commit | a55370a3c0106106a975c5a09cee800611d0cf50 (patch) | |
tree | 408d5dc0ecf970c103ef091388e66da267adb2e2 /fs/Kconfig | |
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/Kconfig')
-rw-r--r-- | fs/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index a7c0cc3203c..5c704d05627 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1413,6 +1413,8 @@ config NFSD_V4 | |||
1413 | bool "Provide NFSv4 server support (EXPERIMENTAL)" | 1413 | bool "Provide NFSv4 server support (EXPERIMENTAL)" |
1414 | depends on NFSD_V3 && EXPERIMENTAL | 1414 | depends on NFSD_V3 && EXPERIMENTAL |
1415 | select NFSD_TCP | 1415 | select NFSD_TCP |
1416 | select CRYPTO_MD5 | ||
1417 | select CRYPTO | ||
1416 | help | 1418 | help |
1417 | If you would like to include the NFSv4 server as well as the NFSv2 | 1419 | If you would like to include the NFSv4 server as well as the NFSv2 |
1418 | and NFSv3 servers, say Y here. This feature is experimental, and | 1420 | and NFSv3 servers, say Y here. This feature is experimental, and |