summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 05:10:46 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:54:55 +0100
commit9104e427f3e21ddb380ddc39752624365b5bffea (patch)
tree53d97658009c90e83bf6cf6502f621c5a940b363 /include
parentswitch device_get_devnode() and ->devnode() to umode_t * (diff)
downloadlinux-9104e427f3e21ddb380ddc39752624365b5bffea.tar.xz
linux-9104e427f3e21ddb380ddc39752624365b5bffea.zip
switch sysfs attr->mode to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sysfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index dac0859e6440..d1994ec02c89 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -25,7 +25,7 @@ enum kobj_ns_type;
struct attribute {
const char *name;
- mode_t mode;
+ umode_t mode;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
struct lock_class_key *key;
struct lock_class_key skey;