Commit b13dc89c authored by Tejun Heo's avatar Tejun Heo Committed by Greg Kroah-Hartman

sysfs: reposition sysfs_dirent->s_mode.

Move s_mode downward such that it's side-by-side with s_iattr which is
used for the same thing.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Acked-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5a7ad7f0
...@@ -39,8 +39,8 @@ struct sysfs_dirent { ...@@ -39,8 +39,8 @@ struct sysfs_dirent {
} s_elem; } s_elem;
unsigned int s_flags; unsigned int s_flags;
umode_t s_mode;
ino_t s_ino; ino_t s_ino;
umode_t s_mode;
struct iattr *s_iattr; struct iattr *s_iattr;
atomic_t s_event; atomic_t s_event;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment