switch debugfs to umode_t
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / mm / page_alloc.c
index 2b8ba3aebf6e2c6b46b0d12dfea058ee3ab022fe..99930ec7d140ab72e989e6eba5ba3ba8cf3b8835 100644 (file)
@@ -1408,7 +1408,7 @@ static int should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
 
 static int __init fail_page_alloc_debugfs(void)
 {
-       mode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
+       umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
        struct dentry *dir;
 
        dir = fault_create_debugfs_attr("fail_page_alloc", NULL,