switch ->is_visible() to returning umode_t
[deliverable/linux.git] / fs / sysfs / group.c
index 194414f8298c0d034fa18b7b4b82da1eaf87a998..dd1701caecc94bcfe38625052dd7564ded19c379 100644 (file)
@@ -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
This page took 0.037213 seconds and 5 git commands to generate.