summaryrefslogtreecommitdiff
path: root/fs/nfs/sysfs.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-01-24 16:10:46 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-07-06 14:54:49 -0400
commit996bc4f405d37ffd88c9b830202ee47fc7a6c449 (patch)
tree81a89b1e6f1a4ebd54b42bc700c667bb6003f089 /fs/nfs/sysfs.h
parent44942b4e457beda00981f616402a1a791e8c616e (diff)
NFS: Create a root NFS directory in /sys/fs/nfs
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/sysfs.h')
-rw-r--r--fs/nfs/sysfs.h15
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