Skip to content

Commit

Permalink
typo fix: it's d_make_root, not d_make_inode...
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jul 21, 2019
1 parent 02e5ad9 commit 1b03bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/filesystems/porting
Original file line number Diff line number Diff line change
Expand Up @@ -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:

inode = foofs_new_inode(....);
s->s_root = d_make_inode(inode);
s->s_root = d_make_root(inode);
if (!s->s_root)
/* Nothing needed for the inode cleanup */
return -ENOMEM;
Expand Down

0 comments on commit 1b03bc5

Please sign in to comment.