summaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorEric W. Biederman2014-02-13 18:39:37 +0100
committerAl Viro2014-10-09 08:38:57 +0200
commit1ffe46d11cc88479797b262f60d92e5fb461b411 (patch)
treea2a710d4440ab248d0f57a064207068aad6342bc /include/linux/dcache.h
parentvfs: Remove unnecessary calls of check_submounts_and_drop (diff)
downloadkernel-qcow2-linux-1ffe46d11cc88479797b262f60d92e5fb461b411.tar.gz
kernel-qcow2-linux-1ffe46d11cc88479797b262f60d92e5fb461b411.tar.xz
kernel-qcow2-linux-1ffe46d11cc88479797b262f60d92e5fb461b411.zip
vfs: Merge check_submounts_and_drop and d_invalidate
Now that d_invalidate is the only caller of check_submounts_and_drop, expand check_submounts_and_drop inline in d_invalidate. Reviewed-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> 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, 0 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 75a227cc7ce2..595af29ad145 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -269,7 +269,6 @@ extern void d_prune_aliases(struct inode *);
/* test whether we have any submounts in a subdir tree */
extern int have_submounts(struct dentry *);
-extern int check_submounts_and_drop(struct dentry *);
/*
* This adds the entry to the hash queues.