aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-01-08 16:49:21 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-09 19:23:45 -0500
commitadc0e91ab142abe93f5b0d7980ada8a7676231fe (patch)
tree27ee89f960b7e2d6cd5179d914bc252324122c26 /include/linux/dcache.h
parentb48f03b319ba78f3abf9a7044d1f436d8d90f4f9 (diff)
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>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index ed9f74f6c519..a47bda5f76db 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -249,6 +249,7 @@ extern int d_invalidate(struct dentry *);
249 249
250/* only used at mount-time */ 250/* only used at mount-time */
251extern struct dentry * d_alloc_root(struct inode *); 251extern struct dentry * d_alloc_root(struct inode *);
252extern struct dentry * d_make_root(struct inode *);
252 253
253/* <clickety>-<click> the ramfs-type tree */ 254/* <clickety>-<click> the ramfs-type tree */
254extern void d_genocide(struct dentry *); 255extern void d_genocide(struct dentry *);