mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[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 <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]> Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7dea9d280c
commit
a55370a3c0
5 changed files with 143 additions and 44 deletions
|
|
@ -1413,6 +1413,8 @@ config NFSD_V4
|
|||
bool "Provide NFSv4 server support (EXPERIMENTAL)"
|
||||
depends on NFSD_V3 && EXPERIMENTAL
|
||||
select NFSD_TCP
|
||||
select CRYPTO_MD5
|
||||
select CRYPTO
|
||||
help
|
||||
If you would like to include the NFSv4 server as well as the NFSv2
|
||||
and NFSv3 servers, say Y here. This feature is experimental, and
|
||||
|
|
|
|||
Loading…
Reference in a new issue