]> git.baikalelectronics.ru Git - kernel.git/commit
LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 Apr 2021 23:46:51 +0000 (19:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 7 Apr 2021 00:33:00 +0000 (20:33 -0400)
commit3f655bf3c95f63a3f1a0bfd868e0cb4ecf2149a1
tree3b6e9894051b7df05c01c2fabf4d8c1766949e2c
parent8fb85db8a42ec99e7523730d116ecb734adf3432
LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late

That (and traversals in case of umount .) should be done before
complete_walk().  Either a braino or mismerge damage on queue
reorders - either way, I should've spotted that much earlier.

Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk>
X-Paperbag: Brown
Fixes: 03bb1451b524 "LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()"
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c