diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-06-05 18:42:05 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-04 02:54:03 +0200 |
commit | 791234448d4798f589110c17d2baaf1bbcc56cb8 (patch) | |
tree | ec3385bef711d86168e70e4ef192a3af6071ff18 /fs/nfsd/xdr4.h | |
parent | nfsd: create xdr_netobj_dup helper (diff) | |
download | linux-791234448d4798f589110c17d2baaf1bbcc56cb8.tar.xz linux-791234448d4798f589110c17d2baaf1bbcc56cb8.zip |
nfsd: decode implementation id
Decode the implementation ID and display in nfsd/clients/#/info. It may
be help identify the client. It won't be used otherwise.
(When this went into the protocol, I thought the implementation ID would
be a slippery slope towards implementation-specific workarounds as with
the http user-agent. But I guess I was wrong, the risk seems pretty low
now.)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index c2b631eefc6d..d64c870f998a 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -410,6 +410,9 @@ struct nfsd4_exchange_id { int spa_how; u32 spo_must_enforce[3]; u32 spo_must_allow[3]; + struct xdr_netobj nii_domain; + struct xdr_netobj nii_name; + struct timespec64 nii_time; }; struct nfsd4_sequence { |