summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-09-20 09:05:10 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:10 +0200
commitb13dc89c5a5bd5e34aadb44c0fb7e870959dcd06 (patch)
tree110bf837aa041960726dc4ca592b7469907de3d8 /fs
parentsysfs: kill sysfs_update_file() (diff)
downloadlinux-b13dc89c5a5bd5e34aadb44c0fb7e870959dcd06.tar.xz
linux-b13dc89c5a5bd5e34aadb44c0fb7e870959dcd06.zip
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.h2
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 {
} 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;
};