move d_rcu from overlapping d_child to overlapping d_alias 79/154379/1
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Oct 2014 23:19:16 +0000 (19:19 -0400)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 10 Oct 2017 06:48:32 +0000 (15:48 +0900)
commit987256a1341fa8ca5311dca1da192660239bed0f
tree7285bd86e94d8df1f5e60ce444d7bed704ee364c
parentb8be257bd41ccd137711651896d398f70f6e411c
move d_rcu from overlapping d_child to overlapping d_alias

commit 946e51f2bf37f1656916eb75bd0742ba33983c28 upstream.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ben Hutchings <ben@decadent.org.uk>
[hujianyang: Backported to 3.10 refer to the work of Ben Hutchings in 3.2:
 - 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()]
Signed-off-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[sw0312.kim: cherry-pick from linux-3.10.y to fix CVE-2014-8559]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: If4e2a5cdcf9b0759f54cc1c1adca4f73b32cca07
22 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
fs/affs/amigaffs.c
fs/autofs4/expire.c
fs/autofs4/root.c
fs/ceph/dir.c
fs/ceph/inode.c
fs/cifs/inode.c
fs/coda/cache.c
fs/dcache.c
fs/debugfs/inode.c
fs/exportfs/expfs.c
fs/libfs.c
fs/ncpfs/dir.c
fs/ncpfs/ncplib_kernel.h
fs/nfs/getroot.c
fs/notify/fsnotify.c
fs/ocfs2/dcache.c
include/linux/dcache.h
kernel/cgroup.c
kernel/trace/trace.c
kernel/trace/trace_events.c
security/selinux/selinuxfs.c