fix a braino in legitimize_path()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Apr 2020 01:59:55 +0000 (21:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Apr 2020 14:38:59 +0000 (10:38 -0400)
commit5bd73286d50fc242bbff1aaddb0e97c4527c9d78
tree25668472f85965c97eb4839b14341ddd0d811817
parent9c577491b985e1b27995abe69b32b041893798cf
fix a braino in legitimize_path()

brown paperbag time... wrong order of arguments ended up confusing
the values to check dentry and mount_lock seqcounts against.

Reported-by: kernel test robot <rong.a.chen@intel.com>
Fixes: 2aa38470853a ("non-RCU analogue of the previous commit")
Tested-by: kernel test robot <rong.a.chen@intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c