security_d_instantiate(): move to the point prior to attaching dentry to inode
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 Apr 2016 04:53:26 +0000 (00:53 -0400)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Feb 2019 02:11:27 +0000 (11:11 +0900)
commita464bab46e0e6c8623ff7d80bd4a71ad66d7ce45
treee4ecc8ba8b43c073959676b9014ff53f6e005e60
parent109587bc1a0c7045735968c8f6404b51ccf7c945
security_d_instantiate(): move to the point prior to attaching dentry to inode

commit b96809173e94ea2fa8c19c2e40e8545a1821bf57 upstream.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[sw0312.kim: backport to 3.18]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ie05efa64cefc014c21ae1acfc44acf2c81b9950b
fs/dcache.c