aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 04:33:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:56 -0500
commitf4ae40a6a50a98ac23d4b285f739455e926a473e (patch)
treec84d7393700bd85e5285a194f8c22d4d00e36b28 /mm/page_alloc.c
parent48176a973d65572e61d0ce95495e5072887e6fb6 (diff)
switch debugfs to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 2b8ba3aebf6e..99930ec7d140 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1408,7 +1408,7 @@ static int should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
1408 1408
1409static int __init fail_page_alloc_debugfs(void) 1409static int __init fail_page_alloc_debugfs(void)
1410{ 1410{
1411 mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; 1411 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
1412 struct dentry *dir; 1412 struct dentry *dir;
1413 1413
1414 dir = fault_create_debugfs_attr("fail_page_alloc", NULL, 1414 dir = fault_create_debugfs_attr("fail_page_alloc", NULL,