diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 20:56:21 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:55:18 +0100 |
commit | 4572befe248fd0d94aedc98775e3f0ddc8a26651 (patch) | |
tree | 2f4c4dabaebadb2790c8266a0434c7030c5f7cc0 /security/tomoyo/tomoyo.c | |
parent | tomoyo_mini_stat: switch to umode_t (diff) | |
download | linux-4572befe248fd0d94aedc98775e3f0ddc8a26651.tar.xz linux-4572befe248fd0d94aedc98775e3f0ddc8a26651.zip |
switch ->path_mkdir() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | security/tomoyo/tomoyo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index a4b840ea0078..95e4a7db8b86 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -186,7 +186,7 @@ static int tomoyo_path_unlink(struct path *parent, struct dentry *dentry) * Returns 0 on success, negative value otherwise. */ static int tomoyo_path_mkdir(struct path *parent, struct dentry *dentry, - int mode) + umode_t mode) { struct path path = { parent->mnt, dentry }; return tomoyo_path_number_perm(TOMOYO_TYPE_MKDIR, &path, |