summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/group.c
diff options
context:
space:
mode:
authorAl Viro2011-07-24 05:11:19 +0200
committerAl Viro2012-01-04 04:54:55 +0100
commit587a1f1659e8b330b8738ef4901832a2b63f0bed (patch)
treeb785c3f44ddba6ee036e02268502cdc961f55ea0 /fs/sysfs/group.c
parentswitch sysfs attr->mode to umode_t (diff)
downloadkernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.tar.gz
kernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.tar.xz
kernel-qcow2-linux-587a1f1659e8b330b8738ef4901832a2b63f0bed.zip
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysfs/group.c')
-rw-r--r--fs/sysfs/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index 194414f8298c..dd1701caecc9 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -33,7 +33,7 @@ static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
int error = 0, i;
for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) {
- mode_t mode = 0;
+ umode_t mode = 0;
/* in update mode, we're changing the permissions or
* visibility. Do this by first removing then