commit | f4ae40a6a50a98ac23d4b285f739455e926a473e | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 24 04:33:43 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:54:56 2012 -0500 |
tree | c84d7393700bd85e5285a194f8c22d4d00e36b28 | |
parent | 48176a973d65572e61d0ce95495e5072887e6fb6 [diff] [blame] |
switch debugfs to umode_t Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/mm/failslab.c b/mm/failslab.c index 0dd7b8f..fefaaba 100644 --- a/mm/failslab.c +++ b/mm/failslab.c
@@ -35,7 +35,7 @@ static int __init failslab_debugfs_init(void) { struct dentry *dir; - mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; + umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; dir = fault_create_debugfs_attr("failslab", NULL, &failslab.attr); if (IS_ERR(dir))