Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jul 2019 17:09:43 +0000 (10:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jul 2019 17:09:43 +0000 (10:09 -0700)
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...

Documentation/filesystems/porting

index 209672010fb465c282ca597e694ad0bb635bca81..6b7a41cfcaed05f9847553afb169181419599a85 100644 (file)
@@ -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;