aboutsummaryrefslogtreecommitdiffstats
path: root/fs
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
parentd161a13f974c72fd7ff0069d39a3ae57cb5694ff (diff)
downloadkernel_goldelico_gta04-48176a973d65572e61d0ce95495e5072887e6fb6.zip
kernel_goldelico_gta04-48176a973d65572e61d0ce95495e5072887e6fb6.tar.gz
kernel_goldelico_gta04-48176a973d65572e61d0ce95495e5072887e6fb6.tar.bz2
switch sysfs_chmod_file() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-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 d4e6080..120c3ad 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;