Skip to content

Commit

Permalink
sysfs: reposition sysfs_dirent->s_mode.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 5a7ad7f commit b13dc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/sysfs/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit b13dc89

Please sign in to comment.