diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 10:30:04 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:55:13 +0100 |
commit | 52ef0c042bf06f6aef382fade175075627beebc1 (patch) | |
tree | a1256aebfd835da4cb29a80f391112fea82bf38e /security/tomoyo | |
parent | switch security_path_chmod() to umode_t (diff) | |
download | linux-52ef0c042bf06f6aef382fade175075627beebc1.tar.xz linux-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c index 2672ac4f3beb..482b2a5f48f0 100644 --- a/security/tomoyo/securityfs_if.c +++ b/security/tomoyo/securityfs_if.c @@ -224,7 +224,7 @@ static const struct file_operations tomoyo_operations = { * * Returns nothing. */ -static void __init tomoyo_create_entry(const char *name, const mode_t mode, +static void __init tomoyo_create_entry(const char *name, const umode_t mode, struct dentry *parent, const u8 key) { securityfs_create_file(name, mode, parent, ((u8 *) NULL) + key, |