commit | 4572befe248fd0d94aedc98775e3f0ddc8a26651 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Nov 21 14:56:21 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:55:18 2012 -0500 |
tree | 2f4c4dabaebadb2790c8266a0434c7030c5f7cc0 | |
parent | d179333f37d33533f4c77118f757b9e7835ccb7c [diff] [blame] |
switch ->path_mkdir() to umode_t Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/security.c b/security/security.c index 3635a13..e9724e0 100644 --- a/security/security.c +++ b/security/security.c
@@ -397,7 +397,7 @@ } 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;