Linux filesystem development
 help / color / mirror / Atom feed
* [GIT PULL] vfs fixes
@ 2025-07-25  8:54 Christian Brauner
  2025-07-25 15:39 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-07-25  8:54 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains two last-minute fixes for this cycle:

- Set afs vllist to NULL if addr parsing fails.

- Add a missing check for reaching the end of the string in afs.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 89be9a83ccf1f88522317ce02f854f30d6115c41:

  Linux 6.16-rc7 (2025-07-20 15:18:33 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc8.fixes

for you to fetch changes up to 8b3c655fa2406b9853138142746a39b7615c54a2:

  afs: Set vllist to NULL if addr parsing fails (2025-07-23 13:54:34 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc8.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc8.fixes

----------------------------------------------------------------
Edward Adam Davis (1):
      afs: Set vllist to NULL if addr parsing fails

Leo Stone (1):
      afs: Fix check for NULL terminator

 fs/afs/addr_prefs.c | 2 +-
 fs/afs/cell.c       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2026-01-26 10:49 Christian Brauner
  2026-01-26 18:26 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2026-01-26 10:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

Here's a few fixes for the current cycle:

- Fix the the buggy conversion of fuse_reverse_inval_entry() introduced
  during the creation rework.

- Disallow nfs delegation requests for directories by setting
  simple_nosetlease().

- Require an opt-in for getting readdir flag bits outside of
  S_DT_MASK set in d_type.

- Fix scheduling delayed writeback work by only scheduling when the
  dirty time expiry interval is non-zero and cancel the delayed work if
  the interval is set to zero.

- Use rounded_jiffies_interval for dirty time work.

- Check the return value of sb_set_blocksize() for romfs.

- Wait for batched folios to be stable in __iomap_get_folio().

- Use private naming for fuse hash size.

- Fix the stale dentry cleanup to prevent a race that causes a UAF.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 0f61b1860cc3f52aef9036d7235ed1f017632193:

  Linux 6.19-rc5 (2026-01-11 17:03:14 -1000)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc8.fixes

for you to fetch changes up to 6358461178ca29a87c66495f1ce854388b0107c3:

  Merge patch series "fuse: fixes and cleanups for expired dentry eviction" (2026-01-16 19:15:20 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc8.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc8.fixes

----------------------------------------------------------------
Amir Goldstein (1):
      readdir: require opt-in for d_type flags

Christian Brauner (3):
      Merge patch series "vfs: properly deny directory leases on filesystems with special lease handling"
      Merge patch series "Fix vm.dirtytime_expire_seconds=0 causing 100% CPU"
      Merge patch series "fuse: fixes and cleanups for expired dentry eviction"

Christoph Hellwig (1):
      iomap: wait for batched folios to be stable in __iomap_get_folio

Deepanshu Kartikey (1):
      romfs: check sb_set_blocksize() return value

Jeff Layton (6):
      nfs: properly disallow delegation requests on directories
      smb/client: properly disallow delegations on directories
      9p: don't allow delegations to be set on directories
      gfs2: don't allow delegations to be set on directories
      ceph: don't allow delegations to be set on directories
      vboxsf: don't allow delegations to be set on directories

Jens Axboe (1):
      fuse: use private naming for fuse hash size

Laveesh Bansal (2):
      writeback: fix 100% CPU usage when dirtytime_expire_interval is 0
      docs: clarify that dirtytime_expire_seconds=0 disables writeback

Miklos Szeredi (6):
      fuse: fix race when disposing stale dentries
      fuse: make sure dentry is evicted if stale
      fuse: add need_resched() before unlocking bucket
      fuse: clean up fuse_dentry_tree_work()
      fuse: shrink once after all buckets have been scanned
      vfs: document d_dispose_if_unused()

NeilBrown (1):
      fuse: fix conversion of fuse_reverse_inval_entry() to start_removing()

Zhao Mengmeng (1):
      writeback: use round_jiffies_relative for dirtytime_work

 Documentation/admin-guide/sysctl/vm.rst |  2 +
 fs/9p/vfs_dir.c                         |  2 +
 fs/ceph/dir.c                           |  2 +
 fs/dcache.c                             | 10 +++++
 fs/fs-writeback.c                       | 16 ++++++--
 fs/fuse/dir.c                           | 66 ++++++++++++++++++---------------
 fs/gfs2/file.c                          |  1 +
 fs/iomap/buffered-io.c                  |  1 +
 fs/nfs/dir.c                            |  1 +
 fs/nfs/nfs4file.c                       |  2 -
 fs/readdir.c                            |  3 ++
 fs/romfs/super.c                        |  5 ++-
 fs/smb/client/cifsfs.c                  |  4 +-
 fs/vboxsf/dir.c                         |  1 +
 include/linux/fs.h                      |  6 ++-
 15 files changed, 82 insertions(+), 40 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2026-01-09 10:39 Christian Brauner
  2026-01-09 16:40 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2026-01-09 10:39 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Remove incorrect __user annotation from struct xattr_args::value.

- Documentation fix: Add missing kernel-doc description for the @isnew
  parameter in ilookup5_nowait() to silence Sphinx warnings.

- Documentation fix: Fix kernel-doc comment for __start_dirop() - the
  function name in the comment was wrong and the @state parameter was
  undocumented.

- Replace dynamic folio_batch allocation with stack allocation in
  iomap_zero_range(). The dynamic allocation was problematic for ext4-on-iomap
  work (didn't handle allocation failure properly) and triggered lockdep
  complaints. Uses a flag instead to control batch usage.

- Re-add #ifdef guards around PIDFD_GET_<ns-type>_NAMESPACE ioctls. When a
  namespace type is disabled, ns->ops is NULL, causes crashes during inode
  eviction when closing the fd. The ifdefs were removed in a recent
  simplification but are still needed.

- Fixe a race where a folio could be unlocked before the trailing zeros (for
  EOF within the page) were written.

- Split out a dedicated lease_dispose_list() helper since lease code paths
  always know they're disposing of leases. Removes unnecessary runtime flag
  checks and prepares for upcoming lease_manager enhancements.

- Fix userland delegation requests succeeding despite conflicting opens.
  Previously, FL_LAYOUT and FL_DELEG leases bypassed conflict checks (a hack
  for nfsd). Adds new ->lm_open_conflict() lease_manager operation so userland
  delegations get proper conflict checking while nfsd can continue its own
  conflict handling.

- Fix LOOKUP_CACHED path lookups incorrectly falling through to the slow
  path. After legitimize_links() calls were conditionally elided, the routine
  would always fail with LOOKUP_CACHED regardless of whether there were any
  links. Now the flag is checked at the two callsites before calling
  legitimize_links().

- Fix bug in media fd allocation in media_request_alloc().

- Fix mismatched API calls in ecryptfs_mknod(): was calling end_removing()
  instead of end_creating() after ecryptfs_start_creating_dentry().

- Fix dentry reference count leak in ecryptfs_mkdir(): a dget() of the
  lower parent dir was added but never dput()'d, causing BUG during lower
  filesystem unmount due to the still-in-use dentry.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

  Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc5.fixes

for you to fetch changes up to 75ddaa4ddc86d31edb15e50152adf4ddee77a6ba:

  pidfs: protect PIDFD_GET_* ioctls() via ifdef (2026-01-06 23:08:12 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc5.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc5.fixes

----------------------------------------------------------------
Al Viro (1):
      get rid of bogus __user in struct xattr_args::value

Bagas Sanjaya (2):
      fs: Describe @isnew parameter in ilookup5_nowait()
      VFS: fix __start_dirop() kernel-doc warnings

Brian Foster (1):
      iomap: replace folio_batch allocation with stack allocation

Christian Brauner (3):
      Merge patch series "filelock: fix conflict detection with userland file delegations"
      Merge patch series "Fix two regressions from start_creating()/start_removing() conversion"
      pidfs: protect PIDFD_GET_* ioctls() via ifdef

David Howells (1):
      netfs: Fix early read unlock of page with EOF in middle

Jeff Layton (2):
      filelock: add lease_dispose_list() helper
      filelock: allow lease_managers to dictate what qualifies as a conflict

Mateusz Guzik (1):
      fs: make sure to fail try_to_unlazy() and try_to_unlazy() for LOOKUP_CACHED

Mathias Krause (1):
      media: mc: fix potential use-after-free in media_request_alloc()

Tyler Hicks (2):
      ecryptfs: Fix improper mknod pairing of start_creating()/end_removing()
      ecryptfs: Release lower parent dentry after creating dir

 Documentation/filesystems/locking.rst |   1 +
 drivers/media/mc/mc-request.c         |   6 +-
 fs/ecryptfs/inode.c                   |   3 +-
 fs/inode.c                            |   3 +
 fs/iomap/buffered-io.c                |  50 +++++++++-----
 fs/iomap/iter.c                       |   6 +-
 fs/locks.c                            | 119 +++++++++++++++++-----------------
 fs/namei.c                            |  21 ++++--
 fs/netfs/read_collect.c               |   2 +-
 fs/nfsd/nfs4layouts.c                 |  23 ++++++-
 fs/nfsd/nfs4state.c                   |  19 ++++++
 fs/pidfs.c                            |  18 +++++
 fs/xfs/xfs_iomap.c                    |  11 ++--
 include/linux/filelock.h              |   1 +
 include/linux/iomap.h                 |   8 ++-
 include/uapi/linux/xattr.h            |   2 +-
 16 files changed, 196 insertions(+), 97 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-12-05 13:36 Christian Brauner
  2025-12-06  0:17 ` pr-tracker-bot
  2025-12-06  0:17 ` Linus Torvalds
  0 siblings, 2 replies; 206+ messages in thread
From: Christian Brauner @ 2025-12-05 13:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Fix a type conversion bug in the ipc subsystem.

- Fix per-dentry timeout warning in autofs.

- Drop the fd conversion from sockets.

- Move assert from iput_not_last() to iput().

- Fix reversed check in filesystems_freeze_callback().

- Use proper uapi types for new struct delegation definitions.

- There's an overlayfs fix waiting as well but it's waiting for testing
  confirmation from the reporter. By the time you're up this might
  already have happened so if this isn't asking too much you could
  choose to apply the fix in [1] directly. Otherwise this will be
  delayed because of upcoming travel
  (Finger's crossed I'll recover well enough.):
  [1]: https://lore.kernel.org/20251205-tortur-amtieren-1273b2eef469@brauner

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

The following changes since commit 3f9f0252130e7dd60d41be0802bf58f6471c691d:

  Merge tag 'random-6.19-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random (2025-12-02 19:00:26 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc1.fixes

for you to fetch changes up to fe93446b5ebdaa89a8f97b15668c077921a65140:

  vfs: use UAPI types for new struct delegation definition (2025-12-05 13:57:39 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc1.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc1.fixes

----------------------------------------------------------------
Christian Brauner (1):
      Revert "net/socket: convert sock_map_fd() to FD_ADD()"

Edward Adam Davis (1):
      mqueue: correct the type of ro to int

Ian Kent (1):
      autofs: fix per-dentry timeout warning

Mateusz Guzik (1):
      fs: assert on I_FREEING not being set in iput() and iput_not_last()

Rafael J. Wysocki (1):
      fs: PM: Fix reverse check in filesystems_freeze_callback()

Thomas Weißschuh (1):
      vfs: use UAPI types for new struct delegation definition

 fs/autofs/dev-ioctl.c      | 22 ++++++++++++----------
 fs/inode.c                 |  3 ++-
 fs/super.c                 |  2 +-
 include/uapi/linux/fcntl.h | 10 +++-------
 ipc/mqueue.c               |  2 +-
 net/socket.c               | 19 ++++++++++++++-----
 6 files changed, 33 insertions(+), 25 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-11-28 16:46 Christian Brauner
  2025-11-28 21:15 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-11-28 16:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains some final fixes for the current cycle:

- afs: Fix delayed allocation of a cell's anonymous key

  The allocation of a cell's anonymous key is done in a background thread
  along with other cell setup such as doing a DNS upcall. The normal key
  lookup tries to use the key description on the anonymous authentication
  key as the reference for request_key() - but it may not yet be set,
  causing an oops.

- ovl: fail ovl_lock_rename_workdir() if either target is unhashed

  As well as checking that the parent hasn't changed after getting the lock,
  the code needs to check that the dentry hasn't been unhashed. Otherwise
  overlayfs might try to rename something that has been removed.

- namespace: fix a reference leak in grab_requested_mnt_ns

  lookup_mnt_ns() already takes a reference on mnt_ns. grab_requested_mnt_ns()
  doesn't need to take an extra reference.

/* Testing */

gcc (Debian 15.2.0-7) 15.2.0
Debian clang version 19.1.7 (10)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d:

  Linux 6.18-rc7 (2025-11-23 14:53:16 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc8.fixes

for you to fetch changes up to d27c71257825dced46104eefe42e4d9964bd032e:

  afs: Fix delayed allocation of a cell's anonymous key (2025-11-28 11:30:10 +0100)

Please consider pulling these changes from the signed vfs-6.18-rc8.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc8.fixes

----------------------------------------------------------------
Andrei Vagin (1):
      fs/namespace: fix reference leak in grab_requested_mnt_ns

David Howells (1):
      afs: Fix delayed allocation of a cell's anonymous key

NeilBrown (1):
      ovl: fail ovl_lock_rename_workdir() if either target is unhashed

 fs/afs/cell.c       | 43 ++++++++-----------------------------------
 fs/afs/internal.h   |  1 +
 fs/afs/security.c   | 48 ++++++++++++++++++++++++++++++++++++++++--------
 fs/namespace.c      |  7 ++++---
 fs/overlayfs/util.c |  4 ++--
 5 files changed, 55 insertions(+), 48 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-11-17 15:53 Christian Brauner
  2025-11-17 17:52 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-11-17 15:53 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Fix unitialized variable in statmount_string().

- Fix hostfs mounting when passing host root during boot.

- Fix dynamic lookup to fail on cell lookup failure.

- Fix missing file type when reading bfs inodes from disk.

- Enforce checking of sb_min_blocksize() calls and update all callers
  accordingly.

- Restore write access before closing files opened by open_exec() in
  binfmt_misc.

- Always freeze efivarfs during suspend/hibernate cycles.

- Fix statmount()'s and listmount()'s grab_requested_mnt_ns() helper to
  actually allow mount namespace file descriptor in addition to mount
  namespace ids.

- Fix tmpfs remount when noswap is specified.

- Switch Landlock to iput_not_last() to remove false-positives from
  might_sleep() annotations in iput().

- Remove dead node_to_mnt_ns() code.

- Ensure that per-queue kobjects are successfully created.

/* Testing */

gcc (Debian 15.2.0-7) 15.2.0
Debian clang version 19.1.7 (10)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 98ac9cc4b4452ed7e714eddc8c90ac4ae5da1a09:

  Merge tag 'f2fs-fix-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2025-10-16 10:58:49 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc7.fixes

for you to fetch changes up to e9d50b78fdfe675b038ddaec7a139dbe3082174c:

  Merge patch series "fs: add iput_not_last()" (2025-11-12 10:47:52 +0100)

Please consider pulling these changes from the signed vfs-6.18-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc7.fixes

----------------------------------------------------------------
Alok Tiwari (1):
      virtio-fs: fix incorrect check for fsvq->kobj

Andrei Vagin (1):
      fs/namespace: correctly handle errors returned by grab_requested_mnt_ns

Andy Shevchenko (1):
      mnt: Remove dead code which might prevent from building

Christian Brauner (3):
      Merge patch series "sb_min_blocksize() fixes"
      power: always freeze efivarfs
      Merge patch series "fs: add iput_not_last()"

David Howells (1):
      afs: Fix dynamic lookup to fail on cell lookup failure

Hongbo Li (1):
      hostfs: Fix only passing host root in boot stage with new mount

Mateusz Guzik (2):
      fs: add iput_not_last()
      landlock: fix splats from iput() after it started calling might_sleep()

Mike Yuan (1):
      shmem: fix tmpfs reconfiguration (remount) when noswap is set

Tetsuo Handa (1):
      bfs: Reconstruct file type when loading from disk

Yongpeng Yang (5):
      vfat: fix missing sb_min_blocksize() return value checks
      exfat: check return value of sb_min_blocksize in exfat_read_boot_sector
      isofs: check the return value of sb_min_blocksize() in isofs_fill_super
      xfs: check the return value of sb_min_blocksize() in xfs_fs_fill_super
      block: add __must_check attribute to sb_min_blocksize()

Zhen Ni (1):
      fs: Fix uninitialized 'offp' in statmount_string()

Zilin Guan (1):
      binfmt_misc: restore write access before closing files opened by open_exec()

 block/bdev.c               |  2 +-
 fs/afs/cell.c              | 78 +++++++++++++++++++++++++++++++++++++++-------
 fs/afs/dynroot.c           |  3 +-
 fs/afs/internal.h          | 12 ++++++-
 fs/afs/mntpt.c             |  3 +-
 fs/afs/proc.c              |  3 +-
 fs/afs/super.c             |  2 +-
 fs/afs/vl_alias.c          |  3 +-
 fs/bfs/inode.c             | 19 ++++++++++-
 fs/binfmt_misc.c           |  4 ++-
 fs/efivarfs/super.c        |  1 +
 fs/exfat/super.c           |  5 ++-
 fs/fat/inode.c             |  6 +++-
 fs/fuse/virtio_fs.c        |  2 +-
 fs/hostfs/hostfs_kern.c    | 29 ++++++++++-------
 fs/inode.c                 | 12 +++++++
 fs/isofs/inode.c           |  5 +++
 fs/namespace.c             | 46 +++++++++++----------------
 fs/super.c                 | 13 ++++++--
 fs/xfs/xfs_super.c         |  5 ++-
 include/linux/fs.h         |  8 +++--
 include/uapi/linux/mount.h |  2 +-
 kernel/power/hibernate.c   |  9 ++----
 kernel/power/suspend.c     |  3 +-
 mm/shmem.c                 | 15 +++++----
 security/landlock/fs.c     |  7 ++---
 26 files changed, 206 insertions(+), 91 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-10-15 19:34 Christian Brauner
  2025-10-15 22:30 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-10-15 19:34 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Handle inode number mismatches in nsfs file handles.

- Update the comment to init_file().

- Add documentation link for EBADF in the rust file code.

- Skip read lock assertion for read-only filesystems when using dax.

- Don't leak disconnected dentries during umount.

- Fix new coredump input pattern validation.

- Handle ENOIOCTLCMD conversion in vfs_fileattr_{g,s}et() correctly.

- Remove redundant IOCB_DIO_CALLER_COMP clearing in overlayfs.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit fd94619c43360eb44d28bd3ef326a4f85c600a07:

  Merge tag 'zonefs-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs (2025-10-05 20:45:49 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc2.fixes

for you to fetch changes up to 7933a585d70ee496fa341b50b8b0a95b131867ff:

  ovl: remove redundant IOCB_DIO_CALLER_COMP clearing (2025-10-10 14:02:47 +0200)

Please consider pulling these changes from the signed vfs-6.18-rc2.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc2.fixes

----------------------------------------------------------------
Andrey Albershteyn (2):
      Revert "fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP"
      fs: return EOPNOTSUPP from file_setattr/file_getattr syscalls

Christian Brauner (2):
      coredump: fix core_pattern input validation
      Merge patch series "Fix to EOPNOTSUPP double conversion in ioctl_setflags()"

Deepanshu Kartikey (1):
      nsfs: handle inode number mismatches gracefully in file handles

Jan Kara (1):
      vfs: Don't leak disconnected dentries on umount

Seong-Gwang Heo (1):
      ovl: remove redundant IOCB_DIO_CALLER_COMP clearing

Tong Li (1):
      rust: file: add intra-doc link for 'EBADF'

Yuezhang Mo (1):
      dax: skip read lock assertion for read-only filesystems

Zhou Yuhang (1):
      fs: update comment in init_file()

 fs/coredump.c          |  2 +-
 fs/dax.c               |  2 +-
 fs/dcache.c            |  2 ++
 fs/exec.c              |  2 +-
 fs/file_attr.c         | 16 ++++++----------
 fs/file_table.c        |  2 +-
 fs/fuse/ioctl.c        |  4 ----
 fs/nsfs.c              |  4 +++-
 fs/overlayfs/copy_up.c |  2 +-
 fs/overlayfs/file.c    |  5 -----
 fs/overlayfs/inode.c   |  5 ++++-
 rust/kernel/fs/file.rs |  4 ++--
 12 files changed, 22 insertions(+), 28 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-09-26 10:39 Christian Brauner
  2025-09-26 20:44 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-09-26 10:39 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains a few final fixes for this cycle:

- Prevent double unlock in netfs.

- Fix a NULL pointer dereference in afs_put_server().

- Fix a reference leak in netfs.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit f83ec76bf285bea5727f478a68b894f5543ca76e:

  Linux 6.17-rc6 (2025-09-14 14:21:14 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.17-rc8.fixes

for you to fetch changes up to 4d428dca252c858bfac691c31fa95d26cd008706:

  netfs: fix reference leak (2025-09-26 10:14:19 +0200)

Please consider pulling these changes from the signed vfs-6.17-rc8.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.17-rc8.fixes

----------------------------------------------------------------
Lizhi Xu (1):
      netfs: Prevent duplicate unlocking

Max Kellermann (1):
      netfs: fix reference leak

Zhen Ni (1):
      afs: Fix potential null pointer dereference in afs_put_server

 fs/afs/server.c           |  3 ++-
 fs/netfs/buffered_read.c  | 10 +++++-----
 fs/netfs/buffered_write.c |  2 +-
 fs/netfs/direct_read.c    |  7 ++++++-
 fs/netfs/direct_write.c   |  6 +++++-
 fs/netfs/internal.h       |  1 +
 fs/netfs/objects.c        | 30 +++++++++++++++++++++++++++---
 fs/netfs/read_pgpriv2.c   |  2 +-
 fs/netfs/read_single.c    |  2 +-
 fs/netfs/write_issue.c    |  3 +--
 10 files changed, 50 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-09-08  9:45 Christian Brauner
  2025-09-08 14:58 ` Linus Torvalds
  2025-09-08 15:41 ` pr-tracker-bot
  0 siblings, 2 replies; 206+ messages in thread
From: Christian Brauner @ 2025-09-08  9:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

the fixes tree was filled before Link: tags were ousted. Only one of
the patches in the series carries a Link: tag and that one actually has
a useful discussion attached to it.

Please also be aware that patches in the various branches for the v6.18
merge window will have Link: tags applied and I don't want to rebase
them all just to drop them. I'll mention that during the merge window
once more as a reminder.

Going forward no tags are applied to individual commits. But I will
continue adding tags to the cover letter in the merge message for patch
series as I often modify the merge message so they point back to the
original cover letter.

/* Summary */

This contains a few fixes for this cycle:

# fuse

- Prevent opening of non-regular backing files.
  Fuse doesn't support non-regular files anyway.

- Check whether copy_file_range() returns a larger size than requested.

- Prevent overflow in copy_file_range() as fuse currently only supports
  32-bit sized copies.

- Cache the blocksize value if the server returned a new value as
  inode->i_blkbits isn't modified directly anymore.

- Fix i_blkbits handling for iomap partial writes.
  By default i_blkbits is set to PAGE_SIZE which causes iomap to mark
  the whole folio as uptodate even on a partial write. But fuseblk
  filesystems support choosing a blocksize smaller than PAGE_SIZE
  risking data corruption. Simply enforce PAGE_SIZE as blocksize for
  fuseblk's internal inode for now.

- Prevent out-of-bounds acces in fuse_dev_write() when the number of
  bytes to be retrieved is truncated to the fc->max_pages limit.

# virtiofs

- Fix page faults for DAX page addresses.

# Misc

- Tighten file handle decoding from userns.
  Check that the decoded dentry itself has a valid idmapping in the user
  namespace.

- Fix mount-notify selftests.

- Fix some indentation errors.

- Add an FMODE_ flag to indicate IOCB_HAS_METADATA availability.
  This will be moved to an FOP_* flag with a bit more rework needed for
  that to happen not suitable for a fix.

- Don't silently ignore metadata for sync read/write.

- Don't pointlessly log warning when reading coredump sysctls.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 1b237f190eb3d36f52dffe07a40b5eb210280e00:

  Linux 6.17-rc3 (2025-08-24 12:04:12 -0400)

are available in the Git repository at:

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

for you to fetch changes up to e1bf212d0604d2cbb5514e47ccec252b656071fb:

  fuse: virtio_fs: fix page fault for DAX page address (2025-09-05 15:56:30 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.17-rc6.fixes

----------------------------------------------------------------
Amir Goldstein (2):
      fuse: do not allow mapping a non-regular backing file
      fhandle: use more consistent rules for decoding file handle from userns

Christian Brauner (3):
      Merge patch series "io_uring / dio metadata fixes"
      coredump: don't pointlessly check and spew warnings
      Merge tag 'fuse-fixes-6.17-rc5' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse into vfs.fixes

Christoph Hellwig (2):
      fs: add a FMODE_ flag to indicate IOCB_HAS_METADATA availability
      block: don't silently ignore metadata for sync read/write

Edward Adam Davis (1):
      fuse: Block access to folio overlimit

Guopeng Zhang (1):
      fs: fix indentation style

Haiyue Wang (1):
      fuse: virtio_fs: fix page fault for DAX page address

Joanne Koong (2):
      fuse: reflect cached blocksize if blocksize was changed
      fuse: fix fuseblk i_blkbits for iomap partial writes

Miklos Szeredi (2):
      fuse: check if copy_file_range() returns larger than requested size
      fuse: prevent overflow in copy_file_range return value

Xing Guo (1):
      selftests/fs/mount-notify: Fix compilation failure.

 block/fops.c                                           | 13 ++++++++-----
 fs/coredump.c                                          |  4 ++++
 fs/exec.c                                              |  2 +-
 fs/fhandle.c                                           |  8 ++++++++
 fs/fuse/dev.c                                          |  2 +-
 fs/fuse/dir.c                                          |  3 ++-
 fs/fuse/file.c                                         |  5 ++++-
 fs/fuse/fuse_i.h                                       | 14 ++++++++++++++
 fs/fuse/inode.c                                        | 16 ++++++++++++++++
 fs/fuse/passthrough.c                                  |  5 +++++
 fs/fuse/virtio_fs.c                                    |  2 +-
 fs/namespace.c                                         |  2 +-
 include/linux/fs.h                                     |  3 ++-
 io_uring/rw.c                                          |  3 +++
 .../filesystems/mount-notify/mount-notify_test.c       | 17 ++++++++---------
 .../filesystems/mount-notify/mount-notify_test_ns.c    | 18 ++++++++----------
 16 files changed, 86 insertions(+), 31 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-08-19 12:46 Christian Brauner
  2025-08-19 17:33 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-08-19 12:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Fix two memory leaks in pidfs.

- Prevent changing the idmapping of an already idmapped mount without
  OPEN_TREE_CLONE through open_tree_attr().

- Don't fail listing extended attributes in kernfs when no extended
  attributes are set.

- Fix the return value in coredump_parse().

- Fix the error handling for unbuffered writes in netfs.

- Fix broken data integrity guarantees for O_SYNC writes via iomap.

- Fix UAF in __mark_inode_dirty().

- Keep inode->i_blkbits constant in fuse.

- Fix coredump selftests.

- Fix get_unused_fd_flags() usage in do_handle_open().

- Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES.

- Fix use-after-free in bh_read().

- Fix incorrect lflags value in the move_mount() syscall.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

  Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.17-rc3.fixes

for you to fetch changes up to a2c1f82618b0b65f1ef615aa9cfdac8122537d69:

  signal: Fix memory leak for PIDFD_SELF* sentinels (2025-08-19 13:51:28 +0200)

Please consider pulling these changes from the signed vfs-6.17-rc3.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.17-rc3.fixes

----------------------------------------------------------------
Adrian Huang (Lenovo) (2):
      pidfs: Fix memory leak in pidfd_info()
      signal: Fix memory leak for PIDFD_SELF* sentinels

Aleksa Sarai (2):
      open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE
      selftests/mount_setattr: add smoke tests for open_tree_attr(2) bug

Christian Brauner (2):
      Merge patch series "open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE"
      kernfs: don't fail listing extended attributes

Dan Carpenter (1):
      coredump: Fix return value in coredump_parse()

David Howells (1):
      netfs: Fix unbuffered write error handling

Jan Kara (1):
      iomap: Fix broken data integrity guarantees for O_SYNC writes

Jiufei Xue (1):
      fs: writeback: fix use-after-free in __mark_inode_dirty()

Joanne Koong (1):
      fuse: keep inode->i_blkbits constant

Nam Cao (1):
      selftests/coredump: Remove the read() that fails the test

Thomas Bertschinger (1):
      fhandle: do_handle_open() should get FD with user flags

Vlastimil Babka (1):
      module: Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES

Ye Bin (1):
      fs/buffer: fix use-after-free when call bh_read() helper

Yuntao Wang (1):
      fs: fix incorrect lflags value in the move_mount syscall

 Documentation/core-api/symbol-namespaces.rst       | 11 ++--
 drivers/tty/serial/8250/8250_rsa.c                 |  8 +--
 fs/anon_inodes.c                                   |  2 +-
 fs/buffer.c                                        |  2 +-
 fs/coredump.c                                      |  2 +-
 fs/fhandle.c                                       |  2 +-
 fs/fs-writeback.c                                  |  9 +--
 fs/fuse/inode.c                                    |  5 --
 fs/iomap/direct-io.c                               | 14 ++--
 fs/kernfs/inode.c                                  |  4 +-
 fs/namespace.c                                     | 35 ++++++----
 fs/netfs/read_collect.c                            |  4 +-
 fs/netfs/write_collect.c                           | 10 ++-
 fs/netfs/write_issue.c                             |  4 +-
 fs/pidfs.c                                         |  2 +-
 fs/splice.c                                        |  3 +
 include/linux/export.h                             |  2 +-
 include/linux/netfs.h                              |  1 +
 kernel/signal.c                                    |  6 +-
 tools/testing/selftests/coredump/stackdump_test.c  |  3 -
 .../selftests/mount_setattr/mount_setattr_test.c   | 77 ++++++++++++++++++----
 21 files changed, 138 insertions(+), 68 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-07-19 10:59 Christian Brauner
  2025-07-19 18:29 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-07-19 10:59 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Fix a memory leak in fcntl_dirnotify().

- Raise SB_I_NOEXEC on secrement superblock instead of messing with
  flags on the mount.

- Add fsdevel and block mailing lists to uio entry. We had a few
  instances were very questionable stuff was added without either block
  or the VFS being aware of it.

- Fix netfs copy-to-cache so that it performs collection with ceph+fscache.

- Fix netfs race between cache write completion and ALL_QUEUED being set.

- Verify the inode mode when loading entries from disk in isofs.

- Avoid state_lock in iomap_set_range_uptodate().

- Fix PIDFD_INFO_COREDUMP check in PIDFD_GET_INFO ioctl.

- Fix the incorrect return value in __cachefiles_write().

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a:

  Linux 6.16-rc5 (2025-07-06 14:10:26 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc7.fixes

for you to fetch changes up to a88cddaaa3bf7445357a79a5c351c6b6d6f95b7d:

  MAINTAINERS: add block and fsdevel lists to iov_iter (2025-07-16 14:46:53 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc7.fixes

----------------------------------------------------------------
Al Viro (1):
      fix a leak in fcntl_dirnotify()

Christian Brauner (3):
      secretmem: use SB_I_NOEXEC
      Merge patch series "netfs: Fix use of fscache with ceph"
      MAINTAINERS: add block and fsdevel lists to iov_iter

David Howells (2):
      netfs: Fix copy-to-cache so that it performs collection with ceph+fscache
      netfs: Fix race between cache write completion and ALL_QUEUED being set

Jan Kara (1):
      isofs: Verify inode mode when loading from disk

Jinliang Zheng (1):
      iomap: avoid unnecessary ifs_set_range_uptodate() with locks

Laura Brehm (1):
      coredump: fix PIDFD_INFO_COREDUMP ioctl check

Zizhi Wo (1):
      cachefiles: Fix the incorrect return value in __cachefiles_write()

 MAINTAINERS                  |  2 ++
 fs/cachefiles/io.c           |  2 --
 fs/cachefiles/ondemand.c     |  4 +---
 fs/iomap/buffered-io.c       |  3 +++
 fs/isofs/inode.c             |  9 ++++++++-
 fs/netfs/read_pgpriv2.c      |  5 +++++
 fs/notify/dnotify/dnotify.c  |  8 ++++----
 fs/pidfs.c                   |  2 +-
 include/trace/events/netfs.h | 30 ++++++++++++++++++++++++++++++
 mm/secretmem.c               | 13 +++++++++----
 10 files changed, 63 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-07-04  8:36 Christian Brauner
  2025-07-04 17:36 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-07-04  8:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

This includes a fix for a priority inversion in eventpoll. I did
consider it a fix and it is a single commit but it is a bit more code
than we would usually let through after -rc2. If you want me to delay
that until the merge window that's perfectly fine. You can either just
revert right after merging this or I can send you a new pull request
tomorrow.

/* Summary */

This contains another round of fixes for this cycle:

- Fix a regression caused by the anonymous inode rework. Making them
  regular files causes various places in the kernel to tip over starting
  with io_uring. Revert to the former status quo and port our assertion
  to be based on checking the inode so we don't lose the valuable
  VFS_*_ON_*() assertions that have already helped discover weird
  behavior our outright bugs.

- Fix the the upper bound calculation in fuse_fill_write_pages().

- Fix priority inversion issues in the eventpoll code.

- Make secretmen use anon_inode_make_secure_inode() to avoid bypassing
  the LSM layer.

- Fix a netfs hang due to missing case in final DIO read result
  collection.

- Fix a double put of the netfs_io_request struct.

- Provide some helpers to abstract out NETFS_RREQ_IN_PROGRESS flag
  wrangling.

- Fix infinite looping in netfs_wait_for_pause/request().

- Fix a netfs ref leak on an extra subrequest inserted into a request's
  list of subreqs.

- Fix various cifs RPC callbacks to set NETFS_SREQ_NEED_RETRY if a
  subrequest fails retriably.

- Fix a cifs warning in the workqueue code when reconnecting a channel.

- Fix the updating of i_size in netfs to avoid a race between testing if
  we should have extended the file with a DIO write and changing i_size.

- Merge the places in netfs that update i_size on write.

- Fix coredump socket selftests.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit e04c78d86a9699d136910cfc0bdcf01087e3267e:

  Linux 6.16-rc2 (2025-06-15 13:49:41 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc5.fixes

for you to fetch changes up to 1e7ab6f67824343ee3e96f100f0937c393749a8a:

  anon_inode: rework assertions (2025-07-02 14:41:39 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc5.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc5.fixes

----------------------------------------------------------------
Christian Brauner (2):
      Merge patch series "netfs, cifs: Fixes to retry-related code"
      anon_inode: rework assertions

David Howells (9):
      netfs: Fix hang due to missing case in final DIO read result collection
      netfs: Fix double put of request
      netfs: Provide helpers to perform NETFS_RREQ_IN_PROGRESS flag wangling
      netfs: Fix looping in wait functions
      netfs: Fix ref leak on inserted extra subreq in write retry
      netfs: Fix i_size updating
      netfs: Merge i_size update functions
      netfs: Renumber the NETFS_RREQ_* flags to make traces easier to read
      netfs: Update tracepoints in a number of ways

Joanne Koong (1):
      fuse: fix fuse_fill_write_pages() upper bound calculation

Nam Cao (2):
      selftests/coredump: Fix "socket_detect_userspace_client" test failure
      eventpoll: Fix priority inversion problem

Paulo Alcantara (3):
      smb: client: set missing retry flag in smb2_writev_callback()
      smb: client: set missing retry flag in cifs_readv_callback()
      smb: client: set missing retry flag in cifs_writev_callback()

Shivank Garg (1):
      fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass

 fs/anon_inodes.c                                  |  23 +-
 fs/eventpoll.c                                    | 458 +++++++---------------
 fs/exec.c                                         |   9 +-
 fs/fuse/file.c                                    |   5 +-
 fs/libfs.c                                        |   8 +-
 fs/namei.c                                        |   2 +-
 fs/netfs/buffered_write.c                         |  38 +-
 fs/netfs/direct_write.c                           |  16 -
 fs/netfs/internal.h                               |  26 +-
 fs/netfs/main.c                                   |   6 +-
 fs/netfs/misc.c                                   |  50 ++-
 fs/netfs/read_collect.c                           |  16 +-
 fs/netfs/write_collect.c                          |  14 +-
 fs/netfs/write_retry.c                            |   3 +-
 fs/smb/client/cifssmb.c                           |  22 ++
 fs/smb/client/smb2pdu.c                           |  27 +-
 include/linux/fs.h                                |   2 +
 include/linux/netfs.h                             |  21 +-
 include/trace/events/netfs.h                      |  29 +-
 mm/secretmem.c                                    |   9 +-
 tools/testing/selftests/coredump/stackdump_test.c |   5 +
 21 files changed, 351 insertions(+), 438 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-06-16  8:20 Christian Brauner
  2025-06-16 16:12 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-06-16  8:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains another round of fixes for this cycle:

- Fix a regression in overlayfs caused by reworking the lookup_one*()
  set of helpers.

- Make sure that the name of the dentry is printed in
  overlayfs' mkdir() helper.

- Add missing iocb values to TRACE_IOCB_STRINGS define.

- Unlock the superblock during iterate_supers_type().
  This was an accidental internal api change.

- Drop a misleading assert in file_seek_cur_needs_f_lock() helper.

- Never refuse to return PIDFD_GET_INGO when parent pid is zero.
  That can trivially happen in container scenarios where the parent
  process might be located in an ancestor pid namespace.

- Don't revalidate in try_lookup_noperm() as that causes regression for
  filesystems such as cifs.

- Fix simple_xattr_list() and reset the err variable after
  security_inode_listsecurity() got called so as not to confuse
  userspace about the length of the xattr.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 5abc7438f1e9d62e91ad775cc83c9594c48d2282:

  Merge tag 'nfs-for-6.16-1' of git://git.linux-nfs.org/projects/anna/linux-nfs (2025-06-03 16:13:32 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc3.fixes

for you to fetch changes up to dd2d6b7f6f519d078a866a36a625b0297d81c5bc:

  fs: drop assert in file_seek_cur_needs_f_lock (2025-06-16 09:59:24 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc3.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc3.fixes

----------------------------------------------------------------
Amir Goldstein (2):
      ovl: fix regression caused by lookup helpers API changes
      ovl: fix debug print in case of mkdir error

Christoph Hellwig (1):
      fs: add missing values to TRACE_IOCB_STRINGS

Darrick J. Wong (1):
      fs: unlock the superblock during iterate_supers_type

Luis Henriques (1):
      fs: drop assert in file_seek_cur_needs_f_lock

Mike Yuan (1):
      pidfs: never refuse ppid == 0 in PIDFD_GET_INFO

NeilBrown (1):
      VFS: change try_lookup_noperm() to skip revalidation

Stephen Smalley (1):
      fs/xattr.c: fix simple_xattr_list()

 fs/file.c                |  8 ++++++--
 fs/namei.c               | 17 +++++++++++++----
 fs/overlayfs/namei.c     | 10 ++++++++--
 fs/overlayfs/overlayfs.h |  8 +++++---
 fs/pidfs.c               |  2 +-
 fs/super.c               |  4 +++-
 fs/xattr.c               |  1 +
 include/linux/fs.h       |  4 +++-
 8 files changed, 40 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 206+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-06-02  9:02 Christian Brauner
  2025-06-02 22:58 ` pr-tracker-bot
  0 siblings, 1 reply; 206+ messages in thread
From: Christian Brauner @ 2025-06-02  9:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains a first round of fixes for this cycle:

- Fix the AT_HANDLE_CONNECTABLE option so filesystems that don't know
  how to decode a connected non-dir dentry fail the request.

- Use repr(transparent) to ensure identical layout between the C and
  Rust implementation of struct file.

- Add a missing xas_pause() into the dax code employing
  wait_entry_unlocked_exclusive().

- Fix FOP_DONTCACHE which we disabled for v6.15. A folio could get
  redirtied and/or scheduled for writeback after the initial dropbehind
  test. Change the test accordingly to handle these cases so we can
  re-enable FOP_DONTCACHE again.

  This obviously will need backports to v6.15.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 015a99fa76650e7d6efa3e36f20c0f5b346fe9ce:

  Merge tag 'nolibc-20250526-for-6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc (2025-05-27 11:27:09 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc2.fixes

for you to fetch changes up to 5402c4d4d2000a9baa30c1157c97152ec6383733:

  exportfs: require ->fh_to_parent() to encode connectable file handles (2025-05-30 07:30:47 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc2.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc2.fixes

----------------------------------------------------------------
Alistair Popple (1):
      fs/dax: Fix "don't skip locked entries when scanning entries"

Amir Goldstein (1):
      exportfs: require ->fh_to_parent() to encode connectable file handles

Christian Brauner (2):
      Merge patch series "dropbehind fixes and cleanups"
      M