diff options
author | 2011-11-21 14:56:21 -0500 | |
---|---|---|
committer | 2012-01-03 22:55:18 -0500 | |
commit | 4572befe248fd0d94aedc98775e3f0ddc8a26651 (patch) | |
tree | 2f4c4dabaebadb2790c8266a0434c7030c5f7cc0 /security/tomoyo | |
parent | tomoyo_mini_stat: switch to umode_t (diff) | |
download | linux-4572befe248fd0d94aedc98775e3f0ddc8a26651.tar.gz linux-4572befe248fd0d94aedc98775e3f0ddc8a26651.tar.bz2 linux-4572befe248fd0d94aedc98775e3f0ddc8a26651.zip |
switch ->path_mkdir() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo')
-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, |