Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6788eb7 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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...
parents 91962d0f 1b03bc5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;