summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-07-21 20:09:43 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-21 20:09:43 +0300
commitd6788eb7d0dcac9ce4084f7b87884812ebf5d941 (patch)
tree39f0851b7f8a4ff89b1dc886771497e8585a0fb2 /Documentation/filesystems
parent91962d0f79cb61776bfb97eb5ea912e49e809d6c (diff)
parent1b03bc5c116383b8bc099e8d60978c379196a687 (diff)
downloadlinux-d6788eb7d0dcac9ce4084f7b87884812ebf5d941.tar.xz
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...
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/porting2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index 209672010fb4..6b7a41cfcaed 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;