commit 946e51f2bf upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
TEST=compiled a custom kernel that includes all changed files
BUG=chromium:432061
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
[cernekee: Backported to 3.14 using 026181647a6262 from 3.2.y as a reference.
- Apply name changes in all the different places we use d_alias and d_child
- Move the WARN_ON() in __d_free() to d_free() as we don't have dentry_free()]
Change-Id: I83764ce5313237fab6589b304c6409c24648b8e4
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/264882
Reviewed-by: Kees Cook <keescook@chromium.org>