mbox series

[GIT,PULL] vfs fixes

Message ID 20240426-vfs-fixes-20b3a0dd3821@brauner (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] vfs fixes | expand

Pull-request

git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9-rc6.fixes

Message

Christian Brauner April 26, 2024, 2:59 p.m. UTC
Hey Linus,

/* Summary */
This contains a few small fixes for this merge window and the attempt to handle
the ntfs removal regression that was reported a little while ago:

* After the removal of the legacy ntfs driver we received reports about
  regressions for some people that do mount "ntfs" explicitly and expect the
  driver to be available. Since ntfs3 is a drop-in for legacy ntfs we alias
  legacy ntfs to ntfs3 just like ext3 is aliased to ext4.

  We also enforce legacy ntfs is always mounted read-only and give it custom
  file operations to ensure that ioctl()'s can't be abused to perform write
  operations.

* Fix an unbalanced module_get() in bdev_open().

* Two smaller fixes for the netfs work done earlier in this cycle.

* Fix the errno returned from the new FS_IOC_GETUUID and FS_IOC_GETFSSYSFSPATH
  ioctls. Both commands just pull information out of the superblock so there's
  no need to call into the actual ioctl handlers.

  So instead of returning ENOIOCTLCMD to indicate to fallback we just return
  ENOTTY directly avoiding that indirection.

/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0

All patches are based on v6.9-rc3. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

  Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9-rc6.fixes

for you to fetch changes up to c97f59e276d4e93480f29a70accbd0d7273cf3f5:

  netfs: Fix the pre-flush when appending to a file in writethrough mode (2024-04-26 14:56:18 +0200)

Please consider pulling these changes from the signed vfs-6.9-rc6.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.9-rc6.fixes

----------------------------------------------------------------
Christian Brauner (3):
      ntfs3: serve as alias for the legacy ntfs driver
      ntfs3: enforce read-only when used as legacy ntfs driver
      ntfs3: add legacy ntfs file operations

David Howells (2):
      netfs: Fix writethrough-mode error handling
      netfs: Fix the pre-flush when appending to a file in writethrough mode

Günther Noack (1):
      fs: Return ENOTTY directly if FS_IOC_GETUUID or FS_IOC_GETFSSYSFSPATH fail

Yu Kuai (1):
      block: fix module reference leakage from bdev_open_by_dev error path

 block/bdev.c              |  2 +-
 fs/ioctl.c                |  4 +--
 fs/netfs/buffered_write.c | 23 +++++++++--------
 fs/ntfs3/Kconfig          |  9 +++++++
 fs/ntfs3/dir.c            |  7 +++++
 fs/ntfs3/file.c           |  8 ++++++
 fs/ntfs3/inode.c          | 20 ++++++++++++---
 fs/ntfs3/ntfs_fs.h        |  4 +++
 fs/ntfs3/super.c          | 65 ++++++++++++++++++++++++++++++++++++++++++++---
 9 files changed, 121 insertions(+), 21 deletions(-)

Comments

pr-tracker-bot@kernel.org April 26, 2024, 6:09 p.m. UTC | #1
The pull request you sent on Fri, 26 Apr 2024 16:59:29 +0200:

> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9-rc6.fixes

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

Thank you!