diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 04:33:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:56 -0500 |
commit | f4ae40a6a50a98ac23d4b285f739455e926a473e (patch) | |
tree | c84d7393700bd85e5285a194f8c22d4d00e36b28 /mm/failslab.c | |
parent | 48176a973d65572e61d0ce95495e5072887e6fb6 (diff) |
switch debugfs to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/failslab.c')
-rw-r--r-- | mm/failslab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/failslab.c b/mm/failslab.c index 0dd7b8fec71c..fefaabaab76d 100644 --- a/mm/failslab.c +++ b/mm/failslab.c | |||
@@ -35,7 +35,7 @@ __setup("failslab=", setup_failslab); | |||
35 | static int __init failslab_debugfs_init(void) | 35 | static int __init failslab_debugfs_init(void) |
36 | { | 36 | { |
37 | struct dentry *dir; | 37 | struct dentry *dir; |
38 | mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; | 38 | umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; |
39 | 39 | ||
40 | dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); | 40 | dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); |
41 | if (IS_ERR(dir)) | 41 | if (IS_ERR(dir)) |