switch ->path_mkdir() to umode_t
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / security / tomoyo / tomoyo.c
index a4b840ea00788ec639efaff183bfc52963269bab..95e4a7db8b866897ff6e0dcec8b6eedf0f555e69 100644 (file)
@@ -186,7 +186,7 @@ static int tomoyo_path_unlink(struct path *parent, struct dentry *dentry)
  * Returns 0 on success, negative value otherwise.
  */
 static int tomoyo_path_mkdir(struct path *parent, struct dentry *dentry,
-                            int mode)
+                            umode_t mode)
 {
        struct path path = { parent->mnt, dentry };
        return tomoyo_path_number_perm(TOMOYO_TYPE_MKDIR, &path,