diff options
Diffstat (limited to 'kernel/fs/debugfs/inode.c')
-rw-r--r-- | kernel/fs/debugfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/debugfs/inode.c b/kernel/fs/debugfs/inode.c index b7fcc0de0..0f5d05bf2 100644 --- a/kernel/fs/debugfs/inode.c +++ b/kernel/fs/debugfs/inode.c @@ -457,7 +457,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; |