summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-07-21 19:09:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-21 19:09:43 +0200
commitd6788eb7d0dcac9ce4084f7b87884812ebf5d941 (patch)
tree39f0851b7f8a4ff89b1dc886771497e8585a0fb2 /Documentation
parentMerge tag '5.3-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff)
parenttypo fix: it's d_make_root, not d_make_inode... (diff)
downloadlinux-d6788eb7d0dcac9ce4084f7b87884812ebf5d941.tar.xz
linux-d6788eb7d0dcac9ce4084f7b87884812ebf5d941.zip
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')
-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;