summaryrefslogtreecommitdiffstats
path: root/fs/nfs/sysfs.h
Commit message (Collapse)AuthorAgeFilesLines
* NFSv4: Fix up RCU annotations for struct nfs_netns_clientTrond Myklebust2020-10-151-1/+1
| | | | | | | | | | The identifier is read as an RCU protected string. Its value may be changed during the lifetime of the network namespace by writing a new string into the sysfs pseudofile (at which point, we free the old string only after a call to synchronize_rcu()). Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
* NFS: Use the correct style for SPDX License IdentifierNishad Kamdar2020-05-271-1/+1
| | | | | | | | | | | | | | | This patch corrects the SPDX License Identifier style in header file related to NFS Client support. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
* NFS: Add sysfs support for per-container identifierTrond Myklebust2019-07-061-0/+10
| | | | | | | | | In order to identify containers to the NFS client, we add a per-net sysfs attribute that udev can fill with the appropriate identifier. The identifier could be a unique hostname, but in most cases it will probably be a persisted uuid. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
* NFS: Create a root NFS directory in /sys/fs/nfsTrond Myklebust2019-07-061-0/+15
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>