mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
1f9b0f3afb
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>
26 lines
500 B
C
26 lines
500 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 Hammerspace Inc
|
|
*/
|
|
|
|
#ifndef __NFS_SYSFS_H
|
|
#define __NFS_SYSFS_H
|
|
|
|
#define CONTAINER_ID_MAXLEN (64)
|
|
|
|
struct nfs_netns_client {
|
|
struct kobject kobject;
|
|
struct net *net;
|
|
const char *identifier;
|
|
};
|
|
|
|
extern struct kobject *nfs_client_kobj;
|
|
|
|
extern int nfs_sysfs_init(void);
|
|
extern void nfs_sysfs_exit(void);
|
|
|
|
void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net);
|
|
void nfs_netns_sysfs_destroy(struct nfs_net *netns);
|
|
|
|
#endif
|