diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 19:58:38 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 03:55:19 (GMT) |
commit | 04fc66e789a896e684bfdca30208e57eb832dd96 (patch) | |
tree | 37c26bff07e48c8c25d147850b7906d0d1c79a81 /security/tomoyo/tomoyo.c | |
parent | 4572befe248fd0d94aedc98775e3f0ddc8a26651 (diff) | |
download | linux-04fc66e789a896e684bfdca30208e57eb832dd96.tar.xz |
switch ->path_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-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 95e4a7d..75c956a 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -234,7 +234,7 @@ static int tomoyo_path_symlink(struct path *parent, struct dentry *dentry, * Returns 0 on success, negative value otherwise. */ static int tomoyo_path_mknod(struct path *parent, struct dentry *dentry, - int mode, unsigned int dev) + umode_t mode, unsigned int dev) { struct path path = { parent->mnt, dentry }; int type = TOMOYO_TYPE_CREATE; |