diff options
author | Tejun Heo <htejun@gmail.com> | 2007-09-20 03:05:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:10 -0400 |
commit | b13dc89c5a5bd5e34aadb44c0fb7e870959dcd06 (patch) | |
tree | 110bf837aa041960726dc4ca592b7469907de3d8 /fs | |
parent | 5a7ad7f044941316dc98eda2a087a12a7a50649d (diff) |
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: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/sysfs/sysfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 63adbecc9ba4..6cf61c882baa 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -39,8 +39,8 @@ struct sysfs_dirent { | |||
39 | } s_elem; | 39 | } s_elem; |
40 | 40 | ||
41 | unsigned int s_flags; | 41 | unsigned int s_flags; |
42 | umode_t s_mode; | ||
43 | ino_t s_ino; | 42 | ino_t s_ino; |
43 | umode_t s_mode; | ||
44 | struct iattr *s_iattr; | 44 | struct iattr *s_iattr; |
45 | atomic_t s_event; | 45 | atomic_t s_event; |
46 | }; | 46 | }; |