summaryrefslogtreecommitdiffstats
path: root/fs/nfs/sysfs.h
diff options
context:
space:
mode:
authorTrond Myklebust2019-01-24 22:10:46 +0100
committerTrond Myklebust2019-07-06 20:54:49 +0200
commit996bc4f405d37ffd88c9b830202ee47fc7a6c449 (patch)
tree81a89b1e6f1a4ebd54b42bc700c667bb6003f089 /fs/nfs/sysfs.h
parentNFSv4: Handle the special Linux file open access mode (diff)
downloadkernel-qcow2-linux-996bc4f405d37ffd88c9b830202ee47fc7a6c449.tar.gz
kernel-qcow2-linux-996bc4f405d37ffd88c9b830202ee47fc7a6c449.tar.xz
kernel-qcow2-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 '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