sysfs: reposition sysfs_dirent->s_mode.
authorTejun Heo <htejun@gmail.com>
Thu, 20 Sep 2007 07:05:10 +0000 (16:05 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:10 +0000 (14:51 -0700)
Move s_mode downward such that it's side-by-side with s_iattr which is
used for the same thing.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/sysfs.h

index 63adbec..6cf61c8 100644 (file)
@@ -39,8 +39,8 @@ struct sysfs_dirent {
        }                       s_elem;
 
        unsigned int            s_flags;
-       umode_t                 s_mode;
        ino_t                   s_ino;
+       umode_t                 s_mode;
        struct iattr            *s_iattr;
        atomic_t                s_event;
 };