vfs: Merge check_submounts_and_drop and d_invalidate
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 13 Feb 2014 17:39:37 +0000 (09:39 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:38:57 +0000 (02:38 -0400)
commit1ffe46d11cc88479797b262f60d92e5fb461b411
treea2a710d4440ab248d0f57a064207068aad6342bc
parent9b053f3207e8887fed88162a339fdd4001abcdb2
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>
fs/dcache.c
include/linux/dcache.h