summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-21 20:56:21 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:18 +0100
commit4572befe248fd0d94aedc98775e3f0ddc8a26651 (patch)
tree2f4c4dabaebadb2790c8266a0434c7030c5f7cc0 /security/security.c
parenttomoyo_mini_stat: switch to umode_t (diff)
downloadlinux-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 'security/security.c')
-rw-r--r--security/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index 3635a13cd4ab..e9724e058b43 100644
--- a/security/security.c
+++ b/security/security.c
@@ -397,7 +397,7 @@ int security_path_mknod(struct path *dir, struct dentry *dentry, int mode,
}
EXPORT_SYMBOL(security_path_mknod);
-int security_path_mkdir(struct path *dir, struct dentry *dentry, int mode)
+int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode)
{
if (unlikely(IS_PRIVATE(dir->dentry->d_inode)))
return 0;