Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
err = PTR_ERR(inode);
goto out_sput;
}
- sb->s_root = d_alloc_root(inode);
+ sb->s_root = d_make_root(inode);
if (!sb->s_root) {
err = -ENOMEM;
goto out_iput;
/*
* No need to call interpose because we already have a positive
- * dentry, which was instantiated by d_alloc_root. Just need to
+ * dentry, which was instantiated by d_make_root. Just need to
* d_rehash it.
*/
d_rehash(sb->s_root);