Skip to contentSkip to conversation

mount-related stuff

GIT PULL Merged Al Viro 2 participants 2 messages Jun 5, 2022 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-18-rc1-work.mount

for you to fetch changes up to 70f8d9c5750bbb0ca4ef7e23d6abcb05e6061138:

move mount-related externs from fs.h to mount.h (2022-05-19 23:25:48 -0400)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Al Viro (5):
uninline may_mount() and don't opencode it in fspick(2)/fsopen(2) linux/mount.h: trim includes m->mnt_root->d_inode->i_sb is a weird way to spell m->mnt_sb... blob_to_mnt(): kern_unmount() is needed to undo kern_mount() move mount-related externs from fs.h to mount.h

 arch/alpha/kernel/osf_sys.c |  1 +
 fs/fsopen.c                 |  4 ++--
 fs/internal.h               |  1 +
 fs/namespace.c              |  2 +-
 fs/nfs/nfs4file.c           |  4 ++--
 include/linux/fs.h          | 11 -----------
 include/linux/mount.h       | 29 +++++++++++++++++------------
 kernel/usermode_driver.c    |  4 ++--
 security/smack/smackfs.c    |  1 +
 9 files changed, 27 insertions(+), 30 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 5 Jun 2022 01:22:08 +0000:

The pull request you sent on Sun, 5 Jun 2022 01:22:08 +0000:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-18-rc1-work.mount

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cbd76edeabd5ed078391abb2323b7aee790cdc04

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html