switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user