Merge 4.6-rc4 into driver-core-next
[deliverable/linux.git] / fs / debugfs / inode.c
index 41e079a8da263b557b98ee3f09bdb578fbfc3121..4bc1f68243c1a67db2446097aa18b7ef21ead440 100644 (file)
@@ -517,7 +517,7 @@ struct dentry *debugfs_create_automount(const char *name,
        if (unlikely(!inode))
                return failed_creating(dentry);
 
-       inode->i_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO;
+       make_empty_dir_inode(inode);
        inode->i_flags |= S_AUTOMOUNT;
        inode->i_private = data;
        dentry->d_fsdata = (void *)f;
This page took 0.031527 seconds and 5 git commands to generate.