From: Tejun Heo Date: Thu, 20 Sep 2007 07:05:10 +0000 (+0900) Subject: sysfs: reposition sysfs_dirent->s_mode. X-Git-Tag: v4.13~35133^2~18 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b13dc89c5a5bd5e34aadb44c0fb7e870959dcd06;p=mirror_ubuntu-bionic-kernel.git 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 Acked-by: Cornelia Huck Signed-off-by: Greg Kroah-Hartman --- 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; };