From: Linus Torvalds Date: Sun, 5 Jun 2022 02:00:05 +0000 (-0700) Subject: Merge tag 'pull-18-rc1-work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git... X-Git-Tag: v5.19-rc1~19 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cbd76edeabd5ed078391abb2323b7aee790cdc04;p=linux-block.git Merge tag 'pull-18-rc1-work.mount' of git://git./linux/kernel/git/viro/vfs Pull mount handling updates from Al Viro: "Cleanups (and one fix) around struct mount handling. The fix is usermode_driver.c one - once you've done kern_mount(), you must kern_unmount(); simple mntput() will end up with a leak. Several failure exits in there messed up that way... In practice you won't hit those particular failure exits without fault injection, though" * tag 'pull-18-rc1-work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: move mount-related externs from fs.h to mount.h blob_to_mnt(): kern_unmount() is needed to undo kern_mount() m->mnt_root->d_inode->i_sb is a weird way to spell m->mnt_sb... linux/mount.h: trim includes uninline may_mount() and don't opencode it in fspick(2)/fsopen(2) --- cbd76edeabd5ed078391abb2323b7aee790cdc04