summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-07-21 06:17:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2019-07-21 06:17:30 +0300
commit1b03bc5c116383b8bc099e8d60978c379196a687 (patch)
tree2fe397841afc00db4f1e9fb403503302e9915233
parent02e5ad973883c36c0868b301b8357d9c455bb91c (diff)
downloadlinux-1b03bc5c116383b8bc099e8d60978c379196a687.tar.xz
typo fix: it's d_make_root, not d_make_inode...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--Documentation/filesystems/porting2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index f6714f7e6bb5..d16e2ef7ae0b 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -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;