diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 10:33:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:54:56 +0100 |
commit | f4ae40a6a50a98ac23d4b285f739455e926a473e (patch) | |
tree | c84d7393700bd85e5285a194f8c22d4d00e36b28 /mm/page_alloc.c | |
parent | switch sysfs_chmod_file() to umode_t (diff) | |
download | linux-f4ae40a6a50a98ac23d4b285f739455e926a473e.tar.xz linux-f4ae40a6a50a98ac23d4b285f739455e926a473e.zip |
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.c | 2 |
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) 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, |