diff options
Diffstat (limited to 'fs/sysfs')
-rw-r--r-- | fs/sysfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index feb2d69396cf..907c2b3af758 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c | |||
@@ -62,8 +62,8 @@ static struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd) | |||
62 | 62 | ||
63 | /* assign default attributes */ | 63 | /* assign default attributes */ |
64 | iattrs->ia_mode = sd->s_mode; | 64 | iattrs->ia_mode = sd->s_mode; |
65 | iattrs->ia_uid = 0; | 65 | iattrs->ia_uid = GLOBAL_ROOT_UID; |
66 | iattrs->ia_gid = 0; | 66 | iattrs->ia_gid = GLOBAL_ROOT_GID; |
67 | iattrs->ia_atime = iattrs->ia_mtime = iattrs->ia_ctime = CURRENT_TIME; | 67 | iattrs->ia_atime = iattrs->ia_mtime = iattrs->ia_ctime = CURRENT_TIME; |
68 | 68 | ||
69 | return attrs; | 69 | return attrs; |