vfs: new helper - d_make_root()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 8 Jan 2012 21:49:21 +0000 (16:49 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Jan 2012 00:23:45 +0000 (19:23 -0500)
commitadc0e91ab142abe93f5b0d7980ada8a7676231fe
tree27ee89f960b7e2d6cd5179d914bc252324122c26
parentb48f03b319ba78f3abf9a7044d1f436d8d90f4f9
vfs: new helper - d_make_root()

d_alloc_root() with iput() in case of allocation failure...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
include/linux/dcache.h