commit | 587a1f1659e8b330b8738ef4901832a2b63f0bed | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 23 23:11:19 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:54:55 2012 -0500 |
tree | b785c3f44ddba6ee036e02268502cdc961f55ea0 | |
parent | 9104e427f3e21ddb380ddc39752624365b5bffea [diff] |
switch ->is_visible() to returning umode_t Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index 194414f..dd1701c 100644 --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c
@@ -33,7 +33,7 @@ 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