summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 03:40:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:56 -0500
commit48176a973d65572e61d0ce95495e5072887e6fb6 (patch)
treeb6e930272851a2d15690d6841b7ae3a9f4f04760 /fs/sysfs
parentd161a13f974c72fd7ff0069d39a3ae57cb5694ff (diff)
downloadlinux-3.10-48176a973d65572e61d0ce95495e5072887e6fb6.tar.gz
linux-3.10-48176a973d65572e61d0ce95495e5072887e6fb6.tar.bz2
linux-3.10-48176a973d65572e61d0ce95495e5072887e6fb6.zip
switch sysfs_chmod_file() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index d4e6080b4b2..120c3adff6b 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -618,7 +618,7 @@ EXPORT_SYMBOL_GPL(sysfs_add_file_to_group);
*
*/
int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr,
- mode_t mode)
+ umode_t mode)
{
struct sysfs_dirent *sd;
struct iattr newattrs;