summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2019-03-14 23:20:19 +0300
committerJ. Bruce Fields <bfields@redhat.com>2019-07-04 00:52:50 +0300
commitbf5ed3e3bb84c39d70ad10b2f8e47ec62f4c63b1 (patch)
tree5d6020fc70f39343c50ded4f575cb905c50db922 /fs/nfsd/netns.h
parente8a79fb14f6b76b502218fce10696f4df9ff19b1 (diff)
downloadlinux-bf5ed3e3bb84c39d70ad10b2f8e47ec62f4c63b1.tar.xz
nfsd: make client/ directory names small ints
We want clientid's on the wire to be randomized for reasons explained in ebd7c72c63ac "nfsd: randomize SETCLIENTID reply to help distinguish servers". But I'd rather have mostly small integers for the clients/ directory. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index ad1d74383d67..bdfe5bcb3dcd 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -111,6 +111,7 @@ struct nfsd_net {
*/
unsigned int max_connections;
+ u32 clientid_base;
u32 clientid_counter;
u32 clverifier_counter;