typo fix: it's d_make_root, not d_make_inode...
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 Jul 2019 03:17:30 +0000 (23:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 Jul 2019 03:17:30 +0000 (23:17 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Documentation/filesystems/porting

index f6714f7e6bb5cee7e588c08bb894d579cb232d30..d16e2ef7ae0b1265752103c6c0ae674639ec9a03 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;