summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 23:44:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:03 -0500
commitfaef2b6c9960b5ae288899f461a2218ec6bb7928 (patch)
treeaf61427bb0984315800617263dbc4d8c42b7d7e7 /fs/sysfs/inode.c
parent5b91aca0bd462c80cf509cbc1014f803eabdc205 (diff)
downloadlinux-faef2b6c9960b5ae288899f461a2218ec6bb7928.tar.bz2
sysfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysfs/inode.c')
-rw-r--r--fs/sysfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c
index c81b22f3ace1..4a802b4a9056 100644
--- a/fs/sysfs/inode.c
+++ b/fs/sysfs/inode.c
@@ -187,7 +187,7 @@ out:
return error;
}
-static inline void set_default_inode_attr(struct inode * inode, mode_t mode)
+static inline void set_default_inode_attr(struct inode * inode, umode_t mode)
{
inode->i_mode = mode;
inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;