Skip to content

Commit 1b03bc5

Browse files
author
Al Viro
committed
typo fix: it's d_make_root, not d_make_inode...
Signed-off-by: Al Viro <[email protected]>
1 parent 02e5ad9 commit 1b03bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/filesystems/porting

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ for the inode. If d_make_root(inode) is passed a NULL inode it returns NULL
436436
and also requires no further error handling. Typical usage is:
437437

438438
inode = foofs_new_inode(....);
439-
s->s_root = d_make_inode(inode);
439+
s->s_root = d_make_root(inode);
440440
if (!s->s_root)
441441
/* Nothing needed for the inode cleanup */
442442
return -ENOMEM;

0 commit comments

Comments
 (0)