diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-01-24 22:10:46 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-06 20:54:49 +0200 |
commit | 996bc4f405d37ffd88c9b830202ee47fc7a6c449 (patch) | |
tree | 81a89b1e6f1a4ebd54b42bc700c667bb6003f089 /fs/nfs/sysfs.h | |
parent | NFSv4: Handle the special Linux file open access mode (diff) | |
download | linux-996bc4f405d37ffd88c9b830202ee47fc7a6c449.tar.xz linux-996bc4f405d37ffd88c9b830202ee47fc7a6c449.zip |
NFS: Create a root NFS directory in /sys/fs/nfs
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfs/sysfs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/nfs/sysfs.h b/fs/nfs/sysfs.h new file mode 100644 index 000000000000..666f8db2ba92 --- /dev/null +++ b/fs/nfs/sysfs.h @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 Hammerspace Inc + */ + +#ifndef __NFS_SYSFS_H +#define __NFS_SYSFS_H + + +extern struct kobject *nfs_client_kobj; + +extern int nfs_sysfs_init(void); +extern void nfs_sysfs_exit(void); + +#endif |