aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/tomoyo.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-rw-r--r--security/tomoyo/tomoyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c
index 4b327b691745..a4b840ea0078 100644
--- a/security/tomoyo/tomoyo.c
+++ b/security/tomoyo/tomoyo.c
@@ -360,7 +360,7 @@ static int tomoyo_file_ioctl(struct file *file, unsigned int cmd,
360 * Returns 0 on success, negative value otherwise. 360 * Returns 0 on success, negative value otherwise.
361 */ 361 */
362static int tomoyo_path_chmod(struct dentry *dentry, struct vfsmount *mnt, 362static int tomoyo_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
363 mode_t mode) 363 umode_t mode)
364{ 364{
365 struct path path = { mnt, dentry }; 365 struct path path = { mnt, dentry };
366 return tomoyo_path_number_perm(TOMOYO_TYPE_CHMOD, &path, 366 return tomoyo_path_number_perm(TOMOYO_TYPE_CHMOD, &path,