diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-25 05:44:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:55:03 +0100 |
commit | faef2b6c9960b5ae288899f461a2218ec6bb7928 (patch) | |
tree | af61427bb0984315800617263dbc4d8c42b7d7e7 /fs/sysfs/sysfs.h | |
parent | usbfs: propagate umode_t (diff) | |
download | linux-faef2b6c9960b5ae288899f461a2218ec6bb7928.tar.xz linux-faef2b6c9960b5ae288899f461a2218ec6bb7928.zip |
sysfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | fs/sysfs/sysfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index ce29e28b766d..7484a36ee678 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h @@ -79,7 +79,7 @@ struct sysfs_dirent { }; unsigned int s_flags; - unsigned short s_mode; + umode_t s_mode; ino_t s_ino; struct sysfs_inode_attrs *s_iattr; }; @@ -229,7 +229,7 @@ int sysfs_add_file(struct sysfs_dirent *dir_sd, const struct attribute *attr, int type); int sysfs_add_file_mode(struct sysfs_dirent *dir_sd, - const struct attribute *attr, int type, mode_t amode); + const struct attribute *attr, int type, umode_t amode); /* * bin.c */ |