aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro2011-07-26 03:30:04 -0500
committerAl Viro2012-01-03 21:55:13 -0600
commit52ef0c042bf06f6aef382fade175075627beebc1 (patch)
treea1256aebfd835da4cb29a80f391112fea82bf38e /security/tomoyo
parent910f4ecef3f67714ebff69d0bc34313e48afaed2 (diff)
downloadam43-linux-kernel-52ef0c042bf06f6aef382fade175075627beebc1.tar.gz
am43-linux-kernel-52ef0c042bf06f6aef382fade175075627beebc1.tar.xz
am43-linux-kernel-52ef0c042bf06f6aef382fade175075627beebc1.zip
switch securityfs_create_file() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo')
-rw-r--r--security/tomoyo/securityfs_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c
index 2672ac4f3be..482b2a5f48f 100644
--- a/security/tomoyo/securityfs_if.c
+++ b/security/tomoyo/securityfs_if.c
@@ -224,7 +224,7 @@ static const struct file_operations tomoyo_operations = {
224 * 224 *
225 * Returns nothing. 225 * Returns nothing.
226 */ 226 */
227static void __init tomoyo_create_entry(const char *name, const mode_t mode, 227static void __init tomoyo_create_entry(const char *name, const umode_t mode,
228 struct dentry *parent, const u8 key) 228 struct dentry *parent, const u8 key)
229{ 229{
230 securityfs_create_file(name, mode, parent, ((u8 *) NULL) + key, 230 securityfs_create_file(name, mode, parent, ((u8 *) NULL) + key,