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/apparmor | |
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 'security/apparmor')
-rw-r--r-- | security/apparmor/lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index afbe49822bed..3271bd38d860 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -262,7 +262,7 @@ static int apparmor_path_unlink(struct path *dir, struct dentry *dentry) } static int apparmor_path_mkdir(struct path *dir, struct dentry *dentry, - int mode) + umode_t mode) { return common_perm_create(OP_MKDIR, dir, dentry, AA_MAY_CREATE, S_IFDIR); |