switch ->is_visible() to returning umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-07-23 23:11:19 -04:00
parent 9104e427f3
commit 587a1f1659
33 changed files with 70 additions and 70 deletions

View 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