getname_kernel() needs to make sure that ->name != ->iname in long case
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 8 Apr 2018 15:57:10 +0000 (11:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2018 06:55:12 +0000 (08:55 +0200)
commit4eb2f39266ac7da022df134433f878747e3ec813
tree3f2607596dc50754d42e8814ad74ac8e67caa1b9
parent84f086ee4e6af45256e10a03afdd19039e7981f4
getname_kernel() needs to make sure that ->name != ->iname in long case

commit 30ce4d1903e1d8a7ccd110860a5eef3c638ed8be upstream.

missed it in "kill struct filename.separate" several years ago.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namei.c