[git pull] a couple of fixes in vfs.git

From: Al Viro
Date: Tue Apr 06 2021 - 13:15:25 EST


Fairly old hostfs bug (in setups that are not used
by anyone, apparently) + fix for this cycle regression:
extra dput/mntput in LOOKUP_CACHED failure handling.

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes

for you to fetch changes up to 7d01ef7585c07afaf487759a48486228cd065726:

Make sure nd->path.mnt and nd->path.dentry are always valid pointers (2021-04-06 12:33:07 -0400)

----------------------------------------------------------------
Al Viro (2):
hostfs: fix memory handling in follow_link()
Make sure nd->path.mnt and nd->path.dentry are always valid pointers

fs/hostfs/hostfs_kern.c | 7 +++----
fs/namei.c | 6 ++++--
2 files changed, 7 insertions(+), 6 deletions(-)