sysfs, kernfs: make super_blocks bind to different kernfs_roots
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / sysfs / sysfs.h
index 2b217ce..93b4b68 100644 (file)
 
 struct sysfs_super_info {
        /*
+        * The root associated with this super_block.  Each super_block is
+        * identified by the root and ns it's associated with.
+        */
+       struct kernfs_root      *root;
+
+       /*
         * Each sb is associated with one namespace tag, currently the network
         * namespace of the task which mounted this sysfs instance.  If multiple
         * tags become necessary, make the following an array and compare