d_path: prepend_path(): lift the inner loop into a new helper
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 May 2021 20:38:11 +0000 (16:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 May 2021 00:15:57 +0000 (20:15 -0400)
commit008673ff74a513ac2c282db8825b6118151ee660
tree3ca84bef4ca3eff7da2241025cbf68b48aaa203d
parent2dac0ad17598d1e54a264ed9286fa7bdbd75a97b
d_path: prepend_path(): lift the inner loop into a new helper

... and leave the rename_lock/mount_lock handling in prepend_path()
itself

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/d_path.c