mbox series

[v2,0/2] Give containers a unique client id

Message ID 20201007222418.604115-1-trondmy@kernel.org (mailing list archive)
Headers show
Series Give containers a unique client id | expand

Message

Trond Myklebust Oct. 7, 2020, 10:24 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

This series adds the missing patches to allow a container to set a
unique client id using /sys/fs/nfs/net/nfs_client/identifier, and
have NFS use that for any new NFS mounts that are initiated by that
container.

--
v2: Fix a variable initialisation in nfs4_get_uniquifier
    Switch to using preferred strscpy()

Trond Myklebust (2):
  NFSv4: Clean up initialisation of uniquified client id strings
  NFSv4: Use the net namespace uniquifier if it is set

 fs/nfs/nfs4proc.c | 88 +++++++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 41 deletions(-)