Commit 1b03bc5c authored by Al Viro's avatar Al Viro

typo fix: it's d_make_root, not d_make_inode...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 02e5ad97
...@@ -436,7 +436,7 @@ for the inode. If d_make_root(inode) is passed a NULL inode it returns NULL ...@@ -436,7 +436,7 @@ for the inode. If d_make_root(inode) is passed a NULL inode it returns NULL
and also requires no further error handling. Typical usage is: and also requires no further error handling. Typical usage is:
inode = foofs_new_inode(....); inode = foofs_new_inode(....);
s->s_root = d_make_inode(inode); s->s_root = d_make_root(inode);
if (!s->s_root) if (!s->s_root)
/* Nothing needed for the inode cleanup */ /* Nothing needed for the inode cleanup */
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment