xfs: add xfs_mount sysfs kobject
[deliverable/linux.git] / fs / xfs / xfs_linux.h
index f59b966bf903bdf4427b0df517b48a4d17e806ca..8312771c2b5ba25846022c213f33e4de2aca91a5 100644 (file)
@@ -191,6 +191,17 @@ typedef __uint64_t __psunsigned_t;
 #define MAX(a,b)       (max(a,b))
 #define howmany(x, y)  (((x)+((y)-1))/(y))
 
+/*
+ * XFS wrapper structure for sysfs support. It depends on external data
+ * structures and is embedded in various internal data structures to implement
+ * the XFS sysfs object heirarchy. Define it here for broad access throughout
+ * the codebase.
+ */
+struct xfs_kobj {
+       struct kobject          kobject;
+       struct completion       complete;
+};
+
 /* Kernel uid/gid conversion. These are used to convert to/from the on disk
  * uid_t/gid_t types to the kuid_t/kgid_t types that the kernel uses internally.
  * The conversion here is type only, the value will remain the same since we
This page took 0.025589 seconds and 5 git commands to generate.