Skip to content

Commit d6788eb

Browse files
committed
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs documentation typo fix from Al Viro. * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: typo fix: it's d_make_root, not d_make_inode...
2 parents 91962d0 + 1b03bc5 commit d6788eb

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)