mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-24 18:44:07 +08:00
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...
This commit is contained in:
commit
d6788eb7d0
@ -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:
|
and also requires no further error handling. Typical usage is:
|
||||||
|
|
||||||
inode = foofs_new_inode(....);
|
inode = foofs_new_inode(....);
|
||||||
s->s_root = d_make_inode(inode);
|
s->s_root = d_make_root(inode);
|
||||||
if (!s->s_root)
|
if (!s->s_root)
|
||||||
/* Nothing needed for the inode cleanup */
|
/* Nothing needed for the inode cleanup */
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
Loading…
Reference in New Issue
Block a user