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:56:19 +0000 (08:56 +0200)
commitc3efeaa3b15403eb17b693a66c6a297ac459a020
treee113f015d49684a4050350435b4615441166ba4a
parentadea72f0e570500f6f78343550950dcbb73e1a19
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