switch debugfs to umode_t

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-07-24 04:33:43 -04:00
commit f4ae40a6a5
25 changed files with 82 additions and 82 deletions

View file

@ -35,7 +35,7 @@ __setup("failslab=", setup_failslab);
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))