linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] vfs fixes
@ 2025-08-19 12:46 Christian Brauner
  2025-08-19 17:33 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ 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] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2025-07-25  8:54 Christian Brauner
  2025-07-25 15:39 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ 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] 188+ 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; 188+ 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] 188+ 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; 188+ 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] 188+ 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; 188+ 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] 188+ 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; 188+ 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"
      Merge patch series "rust: file: mark `LocalFile` as `repr(transparent)`"

Jens Axboe (6):
      mm/filemap: gate dropbehind invalidate on folio !dirty && !writeback
      mm/filemap: use filemap_end_dropbehind() for read invalidation
      Revert "Disable FOP_DONTCACHE for now due to bugs"
      mm/filemap: unify read/write dropbehind naming
      mm/filemap: unify dropbehind flag testing and clearing
      iomap: don't lose folio dropbehind state for overwrites

Pekka Ristola (2):
      rust: file: mark `LocalFile` as `repr(transparent)`
      rust: file: improve safety comments

 fs/dax.c                 |  2 +-
 fs/iomap/buffered-io.c   |  2 ++
 fs/xfs/xfs_aops.c        | 22 ++++++++++++++++++++--
 include/linux/exportfs.h | 10 ++++++++++
 include/linux/fs.h       |  2 +-
 include/linux/iomap.h    |  5 ++++-
 mm/filemap.c             | 39 ++++++++++++++++++++++++---------------
 rust/kernel/fs/file.rs   | 10 ++++++----
 8 files changed, 68 insertions(+), 24 deletions(-)

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

Hey Linus,

/* Summary */

This contains a small set of fixes for the blocking buffer lookup
conversion done earlier this cycle. It adds a missing conversion in the
getblk slowpath and a few minor optimizations and cleanups.

/* 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 a5806cd506af5a7c19bcd596e4708b5c464bfd21:

  Linux 6.15-rc7 (2025-05-18 13:57:29 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7e69dd62bcda256709895e82e1bb77511e2f844b:

  Merge patch series "fs/buffer: misc optimizations" (2025-05-21 09:34:31 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc8.fixes

----------------------------------------------------------------
Christian Brauner (1):
      Merge patch series "fs/buffer: misc optimizations"

Davidlohr Bueso (4):
      fs/buffer: use sleeping lookup in __getblk_slowpath()
      fs/buffer: avoid redundant lookup in getblk slowpath
      fs/buffer: remove superfluous statements
      fs/buffer: optimize discard_buffer()

 fs/buffer.c | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

* Ensure that simple_xattr_list() always includes security.* xattrs.

* Fix eventpoll busy loop optimization when combined with timeouts.

* Disable swapon() for devices with block sizes greater than page sizes.

* Done call errseq_set() twice during mark_buffer_write_io_error(). Just use
  mapping_set_error() which takes care to not deference unconditionally.

/* 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 b4432656b36e5cc1d50a1f2dc15357543add530e:

  Linux 6.15-rc4 (2025-04-27 15:19:23 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 04679f3c27e132c1a2d3881de2f0c5d7128de7c1:

  fs: Remove redundant errseq_set call in mark_buffer_write_io_error. (2025-05-09 12:31:57 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc7.fixes

----------------------------------------------------------------
Jeremy Bongio (1):
      fs: Remove redundant errseq_set call in mark_buffer_write_io_error.

Luis Chamberlain (1):
      swapfile: disable swapon for bs > ps devices

Max Kellermann (1):
      fs/eventpoll: fix endless busy loop after timeout has expired

Stephen Smalley (1):
      fs/xattr.c: fix simple_xattr_list to always include security.* xattrs

 fs/buffer.c    |  4 +---
 fs/eventpoll.c |  7 ++++---
 fs/xattr.c     | 24 ++++++++++++++++++++++++
 mm/swapfile.c  |  9 +++++++++
 4 files changed, 38 insertions(+), 6 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

- For some reason we went from zero to three maintainers for HFS/HFS+ in
  a matter of days. The lesson to learn from this might just be that we
  need to threaten code removal more often!?

- Fix a regression introduced by enabling large folios for lage logical
  block sizes. This has caused issues for noref migration with large
  folios due to sleeping while in an atomic context.

  New sleeping variants of pagecache lookup helpers are introduced.
  These helpers take the folio lock instead of the mapping's private
  spinlock. The problematic users are converted to the sleeping variants
  and serialize against noref migration. Atomic users will bail on
  seeing the new BH_Migrate flag.

  This also shrinks the critical region of the mapping's private lock
  and the new blocking callers reduce contention on the spinlock for
  bdev mappings.

- Fix two bugs in do_move_mount() when with MOVE_MOUNT_BENEATH.
  The first bug is using a mountpoint that is located on a mount we're
  not holding a reference to. The second bug is putting the mountpoint
  after we've called namespace_unlock() as it's no longer guaranteed
  that it does stay a mountpoint.

- Remove a pointless call to vfs_getattr_nosec() in the devtmpfs code
  just to query i_mode instead of simply querying the inode directly.
  This also avoids lifetime issues for the dm code by an earlier bugfix
  this cycle that moved bdev_statx() handling into vfs_getattr_nosec().

- Fix AT_FDCWD handling with getname_maybe_null() in the xattr code.

- Fix a performance regression for files when multiple callers issue a
  close when it's not the last reference.

- Remove a duplicate noinline annotation from pipe_clear_nowait().

/* 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 a33b5a08cbbdd7aadff95f40cbb45ab86841679e:

  Merge tag 'sched_ext-for-6.15-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2025-04-21 19:16:29 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.15-rc4.fixes

for you to fetch changes up to f520bed25d17bb31c2d2d72b0a785b593a4e3179:

  fs/xattr: Fix handling of AT_FDCWD in setxattrat(2) and getxattrat(2) (2025-04-25 12:11:56 +0200)

Please consider pulling these changes from the signed vfs-6.15-rc4.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc4.fixes

----------------------------------------------------------------
Al Viro (1):
      fix a couple of races in MNT_TREE_BENEATH handling by do_move_mount()

Christian Brauner (1):
      Merge patch series "fs/buffer: split pagecache lookups into atomic or blocking"

Christoph Hellwig (1):
      devtmpfs: don't use vfs_getattr_nosec to query i_mode

Davidlohr Bueso (7):
      fs/buffer: split locking for pagecache lookups
      fs/buffer: introduce sleeping flavors for pagecache lookups
      fs/buffer: use sleeping version of __find_get_block()
      fs/ocfs2: use sleeping version of __find_get_block()
      fs/jbd2: use sleeping version of __find_get_block()
      fs/ext4: use sleeping version of sb_find_get_block()
      mm/migrate: fix sleep in atomic for large folios and buffer heads

Jan Kara (1):
      fs/xattr: Fix handling of AT_FDCWD in setxattrat(2) and getxattrat(2)

Mateusz Guzik (1):
      fs: fall back to file_ref_put() for non-last reference

T.J. Mercier (1):
      splice: remove duplicate noinline from pipe_clear_nowait

Viacheslav Dubeyko (1):
      MAINTAINERS: add HFS/HFS+ maintainers

Yangtao Li (1):
      MAINTAINERS: hfs/hfsplus: add myself as maintainer

 MAINTAINERS                 | 10 +++++--
 drivers/base/devtmpfs.c     | 22 ++++++--------
 fs/buffer.c                 | 73 +++++++++++++++++++++++++++++++++------------
 fs/ext4/ialloc.c            |  3 +-
 fs/ext4/mballoc.c           |  3 +-
 fs/file.c                   |  2 +-
 fs/jbd2/revoke.c            | 15 ++++++----
 fs/namespace.c              | 69 ++++++++++++++++++++++--------------------
 fs/ocfs2/journal.c          |  2 +-
 fs/splice.c                 |  2 +-
 fs/xattr.c                  |  4 +--
 include/linux/buffer_head.h |  9 ++++++
 include/linux/file_ref.h    | 19 ++++--------
 mm/migrate.c                |  8 +++--
 14 files changed, 145 insertions(+), 96 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

* Revert the hfs{plus} deprecation warning that's also included in this
  pull request. The commit introducing the deprecation warning resides
  rather early in this branch. So simply dropping it would've rebased
  all other commits which I decided to avoid. Hence the revert in the
  same branch.

* Switch CONFIG_SYSFS_SYCALL default to n and decouple from CONFIG_EXPERT.

* Fix an audit bug caused by changes to our kernel path lookup
  helpers this cycle. Audit needs the parent path even if the dentry it
  tried to look up is negative.

* Ensure that the kernel path lookup helpers leave the passed in path
  argument clean when they return an error. This is consistent with all
  our other helpers.

* Ensure that vfs_getattr_nosec() calls bdev_statx() so the relevant
  information is available to kernel consumers as well.

* Don't set a timer and call schedule() if the timer will expire
  immediately in epoll.

* Make netfs lookup tables with __nonstring.

/* 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 834a4a689699090a406d1662b03affa8b155d025:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2025-04-14 10:24:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 408e4504f97c0aa510330f0a04b7ed028fdf3154:

  Revert "hfs{plus}: add deprecation warning" (2025-04-19 22:48:59 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc3.fixes.2

----------------------------------------------------------------
Christian Brauner (5):
      Kconfig: switch CONFIG_SYSFS_SYCALL default to n
      hfs{plus}: add deprecation warning
      fs: add kern_path_locked_negative()
      fs: ensure that *path_locked*() helpers leave passed path pristine
      Revert "hfs{plus}: add deprecation warning"

Christoph Hellwig (1):
      fs: move the bdex_statx call to vfs_getattr_nosec

Joe Damato (1):
      eventpoll: Set epoll timeout if it's in the future

Kees Cook (1):
      netfs: Mark __nonstring lookup tables

 block/bdev.c              |  3 +-
 fs/eventpoll.c            | 10 +++++-
 fs/namei.c                | 81 +++++++++++++++++++++++++++++++++--------------
 fs/netfs/fscache_cache.c  |  2 +-
 fs/netfs/fscache_cookie.c |  2 +-
 fs/stat.c                 | 32 +++++++++++--------
 include/linux/blkdev.h    |  6 ++--
 include/linux/namei.h     |  1 +
 init/Kconfig              | 20 ++++++------
 kernel/audit_watch.c      | 16 ++++++----
 10 files changed, 112 insertions(+), 61 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

* Fix NULL pointer dereference in virtiofs.

* Fix slab OOB access in hfs/hfsplus.

* Only create /proc/fs/netfs when CONFIG_PROC_FS is set.

* Fix getname_flags() to initialize pointer correctly.

* Convert dentry flags to enum.

* Don't allow datadir without lowerdir in overlayfs.

* Use namespace_{lock,unlock} helpers in dissolve_on_fput() instead of
  plain namespace_sem so unmounted mounts are properly cleaned up.

* Skip unnecessary ifs_block_is_uptodate check in iomap.

* Remove an unused forward declaration in overlayfs.

* Fix devpts uid/gid handling after converting to the new mount api.

* Fix afs_dynroot_readdir() to not use the RCU read lock.

* Fix mount_setattr() and open_tree_attr() to not pointlessly do path
  lookup or walk the mount tree if no mount option change has been
  requested.

/* 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 0af2f6be1b4281385b618cb86ad946eded089ac8:

  Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e2aef868a8c39f411eb7bcee3c42e165a21d5cd6:

  Merge tag 'ovl-fixes-6.15-rc2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs (2025-04-11 16:41:48 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc3.fixes

----------------------------------------------------------------
Christian Brauner (2):
      mount: ensure we don't pointlessly walk the mount tree
      Merge tag 'ovl-fixes-6.15-rc2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs

David Howells (2):
      devpts: Fix type for uid and gid params
      afs: Fix afs_dynroot_readdir() to not use the RCU read lock

Giuseppe Scrivano (1):
      ovl: remove unused forward declaration

Gou Hao (1):
      iomap: skip unnecessary ifs_block_is_uptodate check

Jan Stancek (1):
      fs: use namespace_{lock,unlock} in dissolve_on_fput()

Miklos Szeredi (1):
      ovl: don't allow datadir only

Omar Sandoval (1):
      dcache: convert dentry flag macros to enum

Song Liu (2):
      netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS
      fs: Fix filename init after recent refactoring

Vasiliy Kovalev (1):
      hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key

Xiangsheng Hou (1):
      virtiofs: add filesystem context source name check

 fs/afs/dynroot.c         |   4 +-
 fs/devpts/inode.c        |   4 +-
 fs/fuse/virtio_fs.c      |   3 ++
 fs/hfs/bnode.c           |   6 +++
 fs/hfsplus/bnode.c       |   6 +++
 fs/iomap/buffered-io.c   |   2 +-
 fs/namei.c               |   8 ++--
 fs/namespace.c           |  34 +++++++++------
 fs/netfs/main.c          |   4 ++
 fs/overlayfs/overlayfs.h |   2 -
 fs/overlayfs/super.c     |   5 +++
 include/linux/dcache.h   | 106 ++++++++++++++++++++++-------------------------
 12 files changed, 104 insertions(+), 80 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

- Add a new maintainer for configfs.

- Fix exportfs module description.

- Place flexible array memeber at the end of an internal struct in the
  mount code.

- Add new maintainer for netfslib as Jeff Layton is stepping down as
  current co-maintainer.

- Fix error handling in cachefiles_get_directory().

- Cleanup do_notify_pidfd().

- Fix syscall number definitions in pidfd selftests.

- Fix racy usage of fs_struct->in exec during multi-threaded exec.

- Ensure correct exit code is reported when pidfs_exit() is called from
  release_task() for a delayed thread-group leader exit.

- Fix conflicting iomap flag definitions.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+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 2df0c02dab829dd89360d98a8a1abaa026ef5798:

  x86 boot build: make git ignore stale 'tools' directory (2025-03-24 23:09:14 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 923936efeb74b3f42e5ad283a0b9110bda102601:

  iomap: Fix conflicting values of iomap flags (2025-03-28 10:45:00 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.15-rc1.fixes

----------------------------------------------------------------
Andreas Hindborg (1):
      MAINTAINERS: configfs: add Andreas Hindborg as maintainer

Arnd Bergmann (1):
      exportfs: add module description

Gustavo A. R. Silva (1):
      fs: namespace: Avoid -Wflex-array-member-not-at-end warning

Jeff Layton (1):
      netfs: add Paulo as maintainer and remove myself as Reviewer

Marc Dionne (1):
      cachefiles: Fix oops in vfs_mkdir from cachefiles_get_directory

Oleg Nesterov (4):
      pidfs: cleanup the usage of do_notify_pidfd()
      selftests/pidfd: fixes syscall number defines
      exec: fix the racy usage of fs_struct->in_exec
      exit: fix the usage of delay_group_leader->exit_code in do_notify_parent() and pidfs_exit()

Ritesh Harjani (IBM) (1):
      iomap: Fix conflicting values of iomap flags

 CREDITS                                           |  4 ++++
 MAINTAINERS                                       |  7 ++++---
 fs/cachefiles/namei.c                             |  7 ++++---
 fs/exec.c                                         | 15 +++++++++------
 fs/exportfs/expfs.c                               |  1 +
 fs/namespace.c                                    |  4 +++-
 include/linux/iomap.h                             | 15 +++++++--------
 kernel/exit.c                                     | 11 +++++------
 kernel/signal.c                                   |  8 +++-----
 tools/testing/selftests/clone3/clone3_selftests.h |  2 +-
 tools/testing/selftests/pidfd/pidfd.h             |  8 ++++----
 11 files changed, 45 insertions(+), 37 deletions(-)

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

/* Summary */

This contains a final set of fixes for this cycle:

VFS:

- Ensure that the stable offset api doesn't return duplicate directory
  entries when userspace has to perform the getdents call multiple times
  on large directories.

afs:

- Prevent invalid pointer dereference during get_link RCU pathwalk.

fuse:

- Fix deadlock caused by uninitialized rings when using io_uring with fuse.

- Handle race condition when using io_uring with fuse to prevent NULL dereference.

libnetfs:

- Ensure that invalidate_cache is only called if implemented.

- Fix collection of results during pause when collection is offloaded.

- Ensure rolling_buffer_load_from_ra() doesn't clear mark bits.

- Make netfs_unbuffered_read() return ssize_t rather than int.

/* Testing */

gcc version (Debian 14.2.0-8) 14.2.0
Debian clang version 19.1.4 (1)

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 4701f33a10702d5fc577c32434eb62adde0a1ae1:

  Linux 6.14-rc7 (2025-03-16 12:55:17 -1000)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.14-final.fixes

for you to fetch changes up to f70681e9e6066ab7b102e6b46a336a8ed67812ae:

  libfs: Fix duplicate directory entry in offset_dir_lookup (2025-03-20 14:28:18 +0100)

Please consider pulling these changes from the signed vfs-6.14-final.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-final.fixes

----------------------------------------------------------------
Christian Brauner (1):
      Merge patch series "netfs: Miscellaneous fixes"

David Howells (4):
      afs: Fix afs_atcell_get_link() to check if ws_cell is unset first
      netfs: Fix collection of results during pause when collection offloaded
      netfs: Fix rolling_buffer_load_from_ra() to not clear mark bits
      netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int

Joanne Koong (1):
      fuse: fix uring race condition for null dereference of fc

Luis Henriques (1):
      fuse: fix possible deadlock if rings are never initialized

Max Kellermann (1):
      netfs: Call `invalidate_cache` only if implemented

Yongjian Sun (1):
      libfs: Fix duplicate directory entry in offset_dir_lookup

 fs/afs/dynroot.c          |  6 +++---
 fs/fuse/dev.c             |  2 +-
 fs/fuse/dev_uring.c       |  4 ++--
 fs/libfs.c                |  2 +-
 fs/netfs/direct_read.c    |  6 +++---
 fs/netfs/read_collect.c   | 18 ++++++++++--------
 fs/netfs/rolling_buffer.c |  4 ----
 fs/netfs/write_collect.c  |  3 ++-
 8 files changed, 22 insertions(+), 23 deletions(-)

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

/* Summary */

This contains various fixes for this cycle:

- Bring in an RCU pathwalk fix for afs. This is brought in as a merge
  from the vfs-6.15.shared.afs branch that needs this commit and other
  trees already depend on it.

- Fix vboxfs unterminated string handling.

/* Testing */

gcc version (Debian 14.2.0-8) 14.2.0
Debian clang version 19.1.4 (1)

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 00a7d39898c8010bfd5ff62af31ca5db34421b38:

  fs/pipe: add simpler helpers for common cases (2025-03-06 18:25:35 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 986a6f5eacb900ea0f6036ef724b26e76be40f65:

  vboxsf: Add __nonstring annotations for unterminated strings (2025-03-11 13:06:39 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-rc7.fixes

----------------------------------------------------------------
Christian Brauner (1):
      Merge afs RCU pathwalk fix

David Howells (1):
      afs: Fix afs_atcell_get_link() to handle RCU pathwalk

Kees Cook (1):
      vboxsf: Add __nonstring annotations for unterminated strings

 fs/afs/cell.c     | 11 ++++++-----
 fs/afs/dynroot.c  | 15 +++++++++++++--
 fs/afs/internal.h |  2 +-
 fs/afs/proc.c     |  4 ++--
 fs/vboxsf/super.c |  3 +--
 5 files changed, 23 insertions(+), 12 deletions(-)

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

/* Summary */

This contains various fixes for this cycle:

- Fix spelling mistakes in idmappings.rst.

- Fix RCU warnings in override_creds()/revert_creds().

- Create new pid namespaces with default limit now that pid_max is namespaced.

/* Testing */

gcc version (Debian 14.2.0-8) 14.2.0
Debian clang version 19.1.4 (1)

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 d082ecbc71e9e0bf49883ee4afd435a77a5101b6:

  Linux 6.14-rc4 (2025-02-23 12:32:57 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d385c8bceb14665e935419334aa3d3fac2f10456:

  pid: Do not set pid_max in new pid namespaces (2025-03-06 10:18:36 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-rc6.fixes

----------------------------------------------------------------
Aiden Ma (1):
      doc: correcting two prefix errors in idmappings.rst

Herbert Xu (1):
      cred: Fix RCU warnings in override/revert_creds

Michal Koutný (1):
      pid: Do not set pid_max in new pid namespaces

 Documentation/filesystems/idmappings.rst |  4 ++--
 include/linux/cred.h                     | 10 ++--------
 kernel/pid_namespace.c                   |  2 +-
 3 files changed, 5 insertions(+), 11 deletions(-)

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

/* Summary */

This contains various fixes for this cycle:

- Use __readahead_folio() in fuse again to fix a UAF issue when using splice.

- Remove d_op->d_delete method from pidfs.

- Remove d_op->d_delete method from nsfs.

- Simplify iomap_dio_bio_iter().

- Fix a UAF in ovl_dentry_update_reval.

- Fix a miscalulated file range for filemap_fdatawrite_range_kick()

- Don't skip skip dirty page in folio_unmap_invalidate().

/* Testing */

gcc version (Debian 14.2.0-8) 14.2.0
Debian clang version 19.1.4 (1)

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 2408a807bfc3f738850ef5ad5e3fd59d66168996:

  Merge tag 'vfs-6.14-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2025-02-17 10:38:25 -0800)

are available in the Git repository at:

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

for you to fetch changes up to b5799106b44e1df594f4696500dbbc3b326bba18:

  iomap: Minor code simplification in iomap_dio_bio_iter() (2025-02-25 11:55:26 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-rc5.fixes

----------------------------------------------------------------
Christian Brauner (4):
      Merge tag 'fuse-fixes-6.14-rc4' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
      Merge patch series "fixes for uncached IO"
      pidfs: remove d_op->d_delete
      nsfs: remove d_op->d_delete

Jingbo Xu (2):
      mm/filemap: fix miscalculated file range for filemap_fdatawrite_range_kick()
      mm/truncate: don't skip dirty page in folio_unmap_invalidate()

Joanne Koong (1):
      fuse: revert back to __readahead_folio() for readahead

John Garry (1):
      iomap: Minor code simplification in iomap_dio_bio_iter()

Miklos Szeredi (1):
      fuse: don't truncate cached, mutated symlink

Vasiliy Kovalev (1):
      ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up

 fs/fuse/dev.c          |  6 ++++++
 fs/fuse/dir.c          |  2 +-
 fs/fuse/file.c         | 13 +++++++++++--
 fs/iomap/direct-io.c   |  8 +++-----
 fs/namei.c             | 24 +++++++++++++++++++-----
 fs/nsfs.c              |  1 -
 fs/overlayfs/copy_up.c |  2 +-
 fs/pidfs.c             |  1 -
 include/linux/fs.h     |  6 ++++--
 mm/filemap.c           |  2 +-
 mm/truncate.c          |  2 --
 11 files changed, 46 insertions(+), 21 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

- It was reported that the acct(2) system call can be used to trigger a
  NULL deref in cases where it is set to write to a file that triggers
  an internal lookup.

  This can e.g., happen when pointing acct(2) to /sys/power/resume. At
  the point the where the write to this file happens the calling task
  has already exited and called exit_fs() but an internal lookup might
  be triggered through lookup_bdev(). This may trigger a NULL-deref when
  accessing current->fs.

  Reorganize the code so that the the final write happens from the
  workqueue but with the caller's credentials. This preserves the
  (strange) permission model and has almost no regression risk.

  Also block access to kernel internal filesystems as well as procfs and
  sysfs in the first place.

- Various fixes for netfslib:

  - Fix a number of read-retry hangs, including:

    - Incorrect getting/putting of references on subreqs as we
      retry them.

    - Failure to track whether a last old subrequest in a retried
      set is superfluous.

    - Inconsistency in the usage of wait queues used for subrequests
      (ie. using clear_and_wake_up_bit() whilst waiting on a private
      waitqueue).

  - Add stats counters for retries and publish in /proc/fs/netfs/stats.
    This is not a fix per se, but is useful in debugging and shouldn't
    otherwise change the operation of the code.

  - Fix the ordering of queuing subrequests with respect to setting the
    request flag that says we've now queued them all.

/* Testing */

gcc version (Debian 14.2.0-8) 14.2.0
Debian clang version 19.1.4 (1)

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 a64dcfb451e254085a7daee5fe51bf22959d52d3:

  Linux 6.14-rc2 (2025-02-09 12:45:03 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.14-rc4.fixes

for you to fetch changes up to a33f72554adf4552e53af3784cebfc4f2886c396:

  Merge patch series "netfs: Miscellaneous fixes" (2025-02-13 16:00:53 +0100)

Please consider pulling these changes from the signed vfs-6.14-rc4.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-rc4.fixes

----------------------------------------------------------------
Christian Brauner (4):
      acct: perform last write from workqueue
      acct: block access to kernel internal filesystems
      Merge patch series "acct: don't allow access to internal filesystems"
      Merge patch series "netfs: Miscellaneous fixes"

David Howells (3):
      netfs: Fix a number of read-retry hangs
      netfs: Add retry stat counters
      netfs: Fix setting NETFS_RREQ_ALL_QUEUED to be after all subreqs queued

 fs/netfs/buffered_read.c     |  19 ++++--
 fs/netfs/internal.h          |   4 ++
 fs/netfs/read_collect.c      |   6 +-
 fs/netfs/read_retry.c        |  43 ++++++++++----
 fs/netfs/stats.c             |   9 +++
 fs/netfs/write_issue.c       |   1 +
 fs/netfs/write_retry.c       |   2 +
 include/linux/netfs.h        |   2 +-
 include/trace/events/netfs.h |   4 +-
 kernel/acct.c                | 134 +++++++++++++++++++++++++++----------------
 10 files changed, 154 insertions(+), 70 deletions(-)

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

Hey Linus,

/* Summary */

This contains various fixes for this cycle:

- Fix fsnotify FMODE_NONOTIFY* handling.
  This also disables fsnotify on all pseudo files by default apart from
  very selection exceptions. This carries a regression risk so we need
  to watch out and adapt accordingly. However, it is overall a
  significant improvement over the current status quo where every rando
  file can get fsnotify enabled.

- Cleanup and simplify lockref_init() after recent lockref changes.

- Fix vboxfs build with gcc-15.

- Add an assert into inode_set_cached_link() to catch corrupt links.

- Allow users to also use an empty string check to detect whether a
  given mount option string was empty or not.

- Fix how security options were appended to statmount()'s ->mnt_opt field.

- Fix statmount() selftests to always check the returned mask.

- Fix uninitialized value in vfs_statx_path().

- Fix pidfs_ioctl() sanity checks to guard against ioctl() overloading
  and preserve extensibility.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+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 2014c95afecee3e76ca4a56956a936e23283f05b:

  Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 37d11cfc63604b3886308e2111d845d148ced8bc:

  vfs: sanity check the length passed to inode_set_cached_link() (2025-02-07 10:29:59 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.14-rc2.fixes

----------------------------------------------------------------
Amir Goldstein (3):
      fsnotify: use accessor to set FMODE_NONOTIFY_*
      fsnotify: disable notification by default for all pseudo files
      fsnotify: disable pre-content and permission events by default

Andreas Gruenbacher (3):
      gfs2: use lockref_init for gl_lockref
      gfs2: switch to lockref_init(..., 1)
      lockref: remove count argument of lockref_init

Brahmajit Das (1):
      vboxsf: fix building with GCC 15

Christian Brauner (3):
      Merge patch series "further lockref cleanups"
      Merge patch series "Fix for huge faults regression"
      pidfs: improve ioctl handling

Mateusz Guzik (1):
      vfs: sanity check the length passed to inode_set_cached_link()

Miklos Szeredi (3):
      statmount: let unset strings be empty
      fs: fix adding security options to statmount.mnt_opt
      selftests: always check mask returned by statmount(2)

Su Hui (1):
      fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()

 drivers/tty/pty.c                                  |  2 +-
 fs/dcache.c                                        |  2 +-
 fs/erofs/zdata.c                                   |  2 +-
 fs/file_table.c                                    | 16 +++++++
 fs/gfs2/glock.c                                    |  2 +-
 fs/gfs2/main.c                                     |  1 -
 fs/gfs2/quota.c                                    |  4 +-
 fs/namespace.c                                     | 54 ++++++++++++----------
 fs/notify/fsnotify.c                               | 18 +++++---
 fs/open.c                                          | 11 +++--
 fs/pidfs.c                                         | 12 ++++-
 fs/pipe.c                                          |  6 +++
 fs/stat.c                                          |  4 +-
 fs/vboxsf/super.c                                  |  3 +-
 include/linux/fs.h                                 | 20 +++++++-
 include/linux/fsnotify.h                           |  4 +-
 include/linux/lockref.h                            |  7 +--
 net/socket.c                                       |  5 ++
 .../filesystems/statmount/statmount_test.c         | 22 ++++++++-
 19 files changed, 143 insertions(+), 52 deletions(-)

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

Hey Linus,

/* Summary */

The following fixes are contained in this pull request:

afs:

- Fix the maximum cell name length.

- Fix merge preference rule failure condition.

fuse:

- Fix fuse_get_user_pages() so it doesn't risk misleading the caller to
  think pages have been allocated when they actually haven't.

- Fix direct-io folio offset and length calculation.

netfs:

- Fix async direct-io handling.

- Fix read-retry for filesystems that don't provide a ->prepare_read()
  method.

vfs:

- Prevent truncating 64-bit offsets to 32-bits in iomap.

- Fix memory barrier interactions when polling.

- Remove MNT_ONRB to fix concurrent modification of @mnt->mnt_flags
  leading to MNT_ONRB to not be raised and invalid access to a list
  member. See commit message for details.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

No build failures or warnings were observed.

/* Conflicts */

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

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

No known conflicts.

The following changes since commit fbfd64d25c7af3b8695201ebc85efe90be28c5a3:

  Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2025-01-06 10:26:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 1623bc27a85a93e82194c8d077eccc464efa67db:

  Merge branch 'vfs-6.14.poll' into vfs.fixes (2025-01-10 12:01:21 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.13-rc7.fixes.2

----------------------------------------------------------------
Bernd Schubert (1):
      fuse: Set *nbytesp=0 in fuse_get_user_pages on allocation failure

Christian Brauner (5):
      Merge tag 'fuse-fixes-6.13-rc7' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
      fs: kill MNT_ONRB
      Merge tag 'vfs-6.14-rc7.mount.fixes'
      Merge patch series "poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()"
      Merge branch 'vfs-6.14.poll' into vfs.fixes

David Howells (3):
      afs: Fix the maximum cell name length
      netfs: Fix kernel async DIO
      netfs: Fix read-retry for fs with no ->prepare_read()

Joanne Koong (1):
      fuse: fix direct io folio offset and length calculation

Lizhi Xu (1):
      afs: Fix merge preference rule failure condition

Marco Nelissen (1):
      iomap: avoid avoid truncating 64-bit offset to 32 bits

Oleg Nesterov (5):
      poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
      poll_wait: kill the obsolete wait_address check
      io_uring_poll: kill the no longer necessary barrier after poll_wait()
      sock_poll_wait: kill the no longer necessary barrier after poll_wait()
      poll: kill poll_does_not_wait()

 fs/afs/addr_prefs.c     |  6 ++++--
 fs/afs/afs.h            |  2 +-
 fs/afs/afs_vl.h         |  1 +
 fs/afs/vl_alias.c       |  8 ++++++--
 fs/afs/vlclient.c       |  2 +-
 fs/fuse/file.c          | 31 +++++++++++++++++++------------
 fs/iomap/buffered-io.c  |  2 +-
 fs/mount.h              | 15 +++++++++------
 fs/namespace.c          | 14 ++++++--------
 fs/netfs/direct_write.c |  7 ++++++-
 fs/netfs/read_retry.c   |  3 ++-
 include/linux/mount.h   |  3 +--
 include/linux/poll.h    | 26 ++++++++++++--------------
 include/net/sock.h      | 17 +++++++----------
 io_uring/io_uring.c     |  9 ++++-----
 15 files changed, 80 insertions(+), 66 deletions(-)

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

Hey Linus,

slowly resurrecting from the holidays... What year is it? And have we
already started generating pull requests with AI?

/* Summary */

This contains various fixes for this cycle:

- Relax assertions on failure to encode file handles.
  The ->encode_fh() method can fail for various reasons. None of them
  warrant a WARN_ON().

- Fix overlayfs file handle encoding by allowing encoding an fid from an
  inode without an alias.

- Make sure fuse_dir_open() handles FOPEN_KEEP_CACHE. If it's not
  specified fuse needs to invaludate the directory inode page cache.

- Fix qnx6 so it builds with gcc-15.

- Various fixes for netfslib and ceph and nfs filesystems:

  - Ignore silly rename files from afs and nfs when building header archives.

  - Fix read result collection in netfslib with multiple subrequests.

  - Handle ENOMEM for netfslib buffered reads.

  - Fix oops in nfs_netfs_init_request().

  - Parse the secctx command immediately in cachefiles.

  - Remove a redundant smp_rmb() in netfslib.

  - Handle recursion in read retry in netfslib.

  - Fix clearing of folio_queue.

  - Fix missing cancellation of copy-to_cache when the cache for a file
    is temporarly disabled in netfslib.

- Sanity check the hfs root record.

- Fix zero padding data issues in concurrent write scenarios.

- Fix is_mnt_ns_file() after converting nsfs to path_from_stashed().

- Fix missing declaration of init_files.

- Increase I/O priority when writing revoke records in jbd2.

- Flush filesystem device before updating tail sequence in jbd2.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

No build failures or warnings were observed.

/* Conflicts */

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

- There will be a small merge conflict with mainline. The conflict
  resolution should like this:

diff --cc fs/smb/client/smb2pdu.c
index 959359301250,458b53d1f9cb..000000000000
--- a/fs/smb/client/smb2pdu.c
+++ b/fs/smb/client/smb2pdu.c
@@@ -4840,12 -4841,12 +4841,14 @@@ smb2_writev_callback(struct mid_q_entr
                if (written > wdata->subreq.len)
                        written &= 0xFFFF;

 +              cifs_stats_bytes_written(tcon, written);
 +
-               if (written < wdata->subreq.len)
+               if (written < wdata->subreq.len) {
                        wdata->result = -ENOSPC;
-               else
+               } else if (written > 0) {
                        wdata->subreq.len = written;
+                       __set_bit(NETFS_SREQ_MADE_PROGRESS, &wdata->subreq.flags);
+               }
                break;
        case MID_REQUEST_SUBMITTED:
        case MID_RETRY_NEEDED:

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

No known conflicts.

The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

  Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 368fcc5d3f8bf645a630a44e65f5eb008aba7082:

  Merge patch series "Fix encoding overlayfs fid for fanotify delete events" (2025-01-06 15:43:58 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.13-rc7.fixes

----------------------------------------------------------------
Amir Goldstein (4):
      fs: relax assertions on failure to encode file handles
      fuse: respect FOPEN_KEEP_CACHE on opendir
      ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
      ovl: support encoding fid from inode with no alias

Brahmajit Das (1):
      fs/qnx6: Fix building with GCC 15

Christian Brauner (4):
      Merge patch series "jbd2: two straightforward fixes"
      Merge patch series "iomap: fix zero padding data issue in concurrent append writes"
      Merge patch series "netfs, ceph, nfs, cachefiles: Miscellaneous fixes/changes"
      Merge patch series "Fix encoding overlayfs fid for fanotify delete events"

David Howells (9):
      kheaders: Ignore silly-rename files
      netfs: Fix non-contiguous donation between completed reads
      netfs: Fix enomem handling in buffered reads
      nfs: Fix oops in nfs_netfs_init_request() when copying to cache
      netfs: Fix missing barriers by using clear_and_wake_up_bit()
      netfs: Work around recursion by abandoning retry if nothing read
      netfs: Fix ceph copy to cache on write-begin
      netfs: Fix the (non-)cancellation of copy when cache is temporarily disabled
      netfs: Fix is-caching check in read-retry

Leo Stone (1):
      hfs: Sanity check the root record

Long Li (2):
      iomap: pass byte granular end position to iomap_add_to_ioend
      iomap: fix zero padding data issue in concurrent append writes

Max Kellermann (1):
      cachefiles: Parse the "secctx" immediately

Miklos Szeredi (1):
      fs: fix is_mnt_ns_file()

Zhang Kunbo (1):
      fs: fix missing declaration of init_files

Zhang Yi (2):
      jbd2: increase IO priority for writing revoke records
      jbd2: flush filesystem device before updating tail sequence

Zilin Guan (1):
      netfs: Remove redundant use of smp_rmb()

 fs/9p/vfs_addr.c         |  6 ++++-
 fs/afs/write.c           |  5 +++-
 fs/cachefiles/daemon.c   | 14 +++++-----
 fs/cachefiles/internal.h |  3 ++-
 fs/cachefiles/security.c |  6 ++---
 fs/file.c                |  1 +
 fs/fuse/dir.c            |  2 ++
 fs/hfs/super.c           |  4 ++-
 fs/iomap/buffered-io.c   | 66 +++++++++++++++++++++++++++++++++++++++++-------
 fs/jbd2/commit.c         |  4 +--
 fs/jbd2/revoke.c         |  2 +-
 fs/namespace.c           | 10 ++++++--
 fs/netfs/buffered_read.c | 28 +++++++++++---------
 fs/netfs/direct_write.c  |  1 -
 fs/netfs/read_collect.c  | 33 ++++++++++++++----------
 fs/netfs/read_pgpriv2.c  |  4 +++
 fs/netfs/read_retry.c    |  8 +++---
 fs/netfs/write_collect.c | 14 ++++------
 fs/netfs/write_issue.c   |  2 ++
 fs/nfs/fscache.c         |  9 ++++++-
 fs/notify/fdinfo.c       |  4 +--
 fs/overlayfs/copy_up.c   | 16 ++++++------
 fs/overlayfs/export.c    | 49 +++++++++++++++++++----------------
 fs/overlayfs/namei.c     |  4 +--
 fs/overlayfs/overlayfs.h |  2 +-
 fs/qnx6/inode.c          | 11 +++-----
 fs/smb/client/cifssmb.c  | 13 +++++++---
 fs/smb/client/smb2pdu.c  |  9 ++++---
 include/linux/iomap.h    |  2 +-
 include/linux/netfs.h    |  7 +++--
 kernel/gen_kheaders.sh   |  1 +
 31 files changed, 217 insertions(+), 123 deletions(-)

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

Hey Linus,

I was sent a bug fix for the backing file rework that relied on the
overlayfs pull request. The vfs.fixes branch used an earlier mainline
commit as base. So I thought how to resolve this and my solution was to
create a new ovl.fixes branch which contained the overlayfs changes for
v6.13 and then apply the fix on top of it. That branch was then merged
into vfs.fixes with an explanation why. Let me know if I should do this
differently next time.

/* Summary */

This contains various fixes for this cycle:

- Fix a few iomap bugs.

- Fix a wrong argument in backing file callback.

- Fix security mount option retrieval in statmount().

- Cleanup how statmount() handles unescaped options.

- Add a missing inode_owner_or_capable() check for setting write hints.

- Clear the return value in read_kcore_iter() after a successful
  iov_iter_zero().

- Fix a mount_setattr() selftest.

- Fix function signature in mount api documentation.

- Remove duplicate include header in the fscache code.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

All patches have been sitting in linux-next.
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 e7675238b9bf4db0b872d5dbcd53efa31914c98f:

  Merge tag 'ovl-update-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs (2024-11-22 20:55:42 -0800)

are available in the Git repository at:

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

for you to fetch changes up to cf87766dd6f9ddcceaa8ee26e3cbd7538e42dd19:

  Merge branch 'ovl.fixes' (2024-11-26 18:15:06 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.13-rc1.fixes

----------------------------------------------------------------
Amir Goldstein (1):
      fs/backing_file: fix wrong argument in callback

Brian Foster (4):
      iomap: warn on zero range of a post-eof folio
      iomap: reset per-iter state on non-error iter advances
      iomap: lift zeroed mapping handling into iomap_zero_range()
      iomap: elide flush from partial eof zero range

Christian Brauner (3):
      Merge patch series "iomap: zero range flush fixes"
      statmount: fix security option retrieval
      Merge branch 'ovl.fixes'

Christoph Hellwig (1):
      fs: require inode_owner_or_capable for F_SET_RW_HINT

Jiri Olsa (1):
      fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero

Michael Ellerman (1):
      selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels

Miklos Szeredi (1):
      statmount: clean up unescaped option handling

Randy Dunlap (1):
      fs_parser: update mount_api doc to match function signature

Thorsten Blum (1):
      fscache: Remove duplicate included header

 Documentation/filesystems/mount_api.rst            |  3 +-
 fs/backing-file.c                                  |  3 +-
 fs/fcntl.c                                         |  3 +
 fs/iomap/buffered-io.c                             | 90 +++++++++++-----------
 fs/iomap/iter.c                                    | 11 ++-
 fs/namespace.c                                     | 46 +++++------
 fs/netfs/fscache_io.c                              |  1 -
 fs/proc/kcore.c                                    |  1 +
 .../selftests/mount_setattr/mount_setattr_test.c   |  2 +-
 9 files changed, 81 insertions(+), 79 deletions(-)

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

Hey Linus,

/* Summary */
This contains a few fixes:

VFS:

- Fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP=y is set.

- Add a get_tree_bdev_flags() helper that allows to modify e.g., whether
  errors are logged into the filesystem context during superblock
  creation. This is used by erofs to fix a userspace regression where an
  error is currently logged when its used on a regular file which is an
  new allowed mode in erofs.

netfs:

- Fix the sysfs debug path in the documentation.

- Fix iov_iter_get_pages*() for folio queues by skipping the page
  extracation if we're at the end of a folio.

afs:

- Fix moving subdirectories to different parent directory.

autofs:

- Fix handling of AUTOFS_DEV_IOCTL_TIMEOUT_CMD ioctl in
  validate_dev_ioctl(). The actual ioctl number, not the ioctl command
  needs to be checked for autofs.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

All patches are based on v6.11-rc4 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */

No known conflicts.

The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

  Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

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

for you to fetch changes up to c749d9b7ebbc5716af7a95f7768634b30d9446ec:

  iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP (2024-10-28 13:39:35 +0100)

(Note, I'm still not fully recovered so currently with a little reduced
 activity.)
Please consider pulling these changes from the signed vfs-6.12-rc6.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc6.fixes

----------------------------------------------------------------
Christian Brauner (1):
      Merge patch series "fs/super.c: introduce get_tree_bdev_flags()"

David Howells (2):
      afs: Fix missing subdir edit when renamed between parent dirs
      iov_iter: Fix iov_iter_get_pages*() for folio_queue

Gao Xiang (2):
      fs/super.c: introduce get_tree_bdev_flags()
      erofs: use get_tree_bdev_flags() to avoid misleading messages

Hongbo Li (1):
      doc: correcting the debug path for cachefiles

Hugh Dickins (1):
      iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP

Ian Kent (1):
      autofs: fix thinko in validate_dev_ioctl()

 Documentation/filesystems/caching/cachefiles.rst |  2 +-
 fs/afs/dir.c                                     | 25 +++++++
 fs/afs/dir_edit.c                                | 91 +++++++++++++++++++++++-
 fs/afs/internal.h                                |  2 +
 fs/autofs/dev-ioctl.c                            |  5 +-
 fs/erofs/super.c                                 |  4 +-
 fs/super.c                                       | 26 +++++--
 include/linux/fs_context.h                       |  6 ++
 include/trace/events/afs.h                       |  7 +-
 lib/iov_iter.c                                   | 25 ++++---
 10 files changed, 169 insertions(+), 24 deletions(-)

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

Hey Linus,

/* Summary */
This contains a few fixes:

afs:

- Fix a lock recursion in afs_wake_up_async_call() on ->notify_lock.

netfs:

- Drop the references to a folio immediately after the folio has been
  extracted to prevent races with future I/O collection.

- Fix a documenation build error.

- Downgrade the i_rwsem for buffered writes to fix a cifs reported
  performance regression when switching to netfslib.

vfs:

- Explicitly return -E2BIG from openat2() if the specified size is
  unexpectedly large. This aligns openat2() with other extensible struct
  based system calls.

- When copying a mount namespace ensure that we only try to remove the
  new copy from the mount namespace rbtree if it has already been added
  to it.

nilfs:

- Clear the buffer delay flag when clearing the buffer state clags when
  a buffer head is discarded to prevent a kernel OOPs.

ocfs2:

- Fix an unitialized value warning in ocfs2_setattr().

proc:

- Fix a kernel doc warning.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

All patches are based on v6.11-rc2 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */

No known conflicts.

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 197231da7f6a2e9884f84a4a463f53f9f491d920:

  proc: Fix W=1 build kernel-doc warning (2024-10-18 13:02:47 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc5.fixes

----------------------------------------------------------------
Aleksa Sarai (1):
      openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)

Alessandro Zanni (1):
      fs: Fix uninitialized value issue in from_kuid and from_kgid

Christian Brauner (1):
      fs: don't try and remove empty rbtree node

David Howells (3):
      netfs: In readahead, put the folio refs as soon extracted
      netfs: Downgrade i_rwsem for a buffered write
      afs: Fix lock recursion

Jonathan Corbet (1):
      netfs: fix documentation build error

Ryusuke Konishi (1):
      nilfs2: fix kernel bug due to missing clearing of buffer delay flag

Thorsten Blum (1):
      proc: Fix W=1 build kernel-doc warning

 Documentation/filesystems/netfs_library.rst |  1 -
 fs/afs/internal.h                           |  2 +
 fs/afs/rxrpc.c                              | 83 ++++++++++++++++++++---------
 fs/namespace.c                              |  4 +-
 fs/netfs/buffered_read.c                    | 47 +++++-----------
 fs/netfs/locking.c                          |  3 +-
 fs/netfs/read_collect.c                     |  2 +
 fs/nilfs2/page.c                            |  6 ++-
 fs/ocfs2/file.c                             |  9 ++--
 fs/open.c                                   |  2 +
 fs/proc/fd.c                                |  2 +-
 include/trace/events/netfs.h                |  1 -
 12 files changed, 95 insertions(+), 67 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-10-03  9:00 Christian Brauner
  2024-10-03 16:53 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-10-03  9:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */

This contains fixes for this merge window:

vfs:

- Ensure that iter_folioq_get_pages() advances to the next slot otherwise it
  will end up using the same folio with an out-of-bound offset.

iomap:

- Dont unshare delalloc extents which can't be reflinked, and thus can't be shared.

- Constrain the file range passed to iomap_file_unshare() directly in iomap
  instead of requiring the callers to do it.

netfs:

- Use folioq_count instead of folioq_nr_slot to prevent an unitialized value
  warning in netfs_clear_buffer().

- Fix missing wakeup after issuing writes by scheduling the write collector
  only if all the subrequest queues are empty and thus no writes are pending.

- Fix two minor documentation bugs.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

/* Conflicts */

No known conflicts.

The following changes since commit e32cde8d2bd7d251a8f9b434143977ddf13dcec6:

  Merge tag 'sched_ext-for-6.12-rc1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2024-09-30 12:58:17 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a311a08a4237241fb5b9d219d3e33346de6e83e0:

  iomap: constrain the file range passed to iomap_file_unshare (2024-10-03 10:22:28 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc2.fixes.2

----------------------------------------------------------------
Chang Yu (1):
      netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer

Christian Brauner (2):
      folio_queue: fix documentation
      Documentation: add missing folio_queue entry

Darrick J. Wong (2):
      iomap: don't bother unsharing delalloc extents
      iomap: constrain the file range passed to iomap_file_unshare

David Howells (1):
      netfs: Fix missing wakeup after issuing writes

Omar Sandoval (1):
      iov_iter: fix advancing slot in iter_folioq_get_pages()

 Documentation/core-api/index.rst |  1 +
 fs/dax.c                         |  6 +++++-
 fs/iomap/buffered-io.c           |  9 +++++++--
 fs/netfs/misc.c                  |  2 +-
 fs/netfs/write_issue.c           | 42 ++++++++++++++++++++++++++--------------
 include/linux/folio_queue.h      |  2 +-
 lib/iov_iter.c                   |  2 +-
 7 files changed, 43 insertions(+), 21 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-09-30 13:46 Christian Brauner
  2024-09-30 20:21 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-09-30 13:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains fixes for this merge window:

afs:

- Fix setting of the server responding flag.

- Remove unused struct afs_address_list and afs_put_address_list() function.

- Fix infinite loop because of unresponsive servers.

- Ensure that afs_retry_request() function is correctly added to the
  afs_req_ops netfs operations table.

netfs:

- Fix netfs_folio tracepoint handling to handle NULL mappings.

- Add a missing folio_queue API documentation.

- Ensure that netfs_write_folio() correctly advances the iterator via
  iov_iter_advance().

- Fix a dentry leak during concurrent cull and cookie lookup operations in
  cachefiles.

pidfs:

- Correctly handle accessing another task's pid namespace.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

/* Conflicts */

No known conflicts.

The following changes since commit 075dbe9f6e3c21596c5245826a4ee1f1c1676eb8:

  Merge tag 'soc-ep93xx-dt-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc (2024-09-26 12:00:25 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f801850bc263d7fa0a4e6d9a36cddf4966c79c14:

  netfs: Fix the netfs_folio tracepoint to handle NULL mapping (2024-09-30 14:11:05 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc2.fixes

----------------------------------------------------------------
Baokun Li (1):
      cachefiles: fix dentry leak in cachefiles_open_file()

Christian Brauner (1):
      pidfs: check for valid pid namespace

David Howells (5):
      afs: Fix missing wire-up of afs_retry_request()
      afs: Fix the setting of the server responding flag
      netfs: Advance iterator correctly rather than jumping it
      netfs: Add folio_queue API documentation
      netfs: Fix the netfs_folio tracepoint to handle NULL mapping

Marc Dionne (1):
      afs: Fix possible infinite loop with unresponsive servers

Thorsten Blum (1):
      afs: Remove unused struct and function prototype

 Documentation/core-api/folio_queue.rst | 212 +++++++++++++++++++++++++++++++++
 fs/afs/afs_vl.h                        |   9 --
 fs/afs/file.c                          |   1 +
 fs/afs/fs_operation.c                  |   2 +-
 fs/afs/fs_probe.c                      |   4 +-
 fs/afs/rotate.c                        |  11 +-
 fs/cachefiles/namei.c                  |   7 +-
 fs/netfs/write_issue.c                 |  12 +-
 fs/pidfs.c                             |   5 +-
 include/linux/folio_queue.h            | 168 ++++++++++++++++++++++++++
 include/trace/events/netfs.h           |   3 +-
 11 files changed, 410 insertions(+), 24 deletions(-)
 create mode 100644 Documentation/core-api/folio_queue.rst

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

/* Summary */
This contains two fixes for this merge window:

netfs:

- Ensure that fscache_cookie_lru_time is deleted when the fscache module is
  removed to prevent UAF.
- Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range(). Before
  it used truncate_inode_pages_partial() which causes copy_file_range() to fail
  on cifs.

/* Testing */
Debian clang version 16.0.6 (27+b1)
gcc (Debian 14.2.0-1) 14.2.0

/* Conflicts */
No known conflicts.

The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:

  Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)

are available in the Git repository at:

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

for you to fetch changes up to 72a6e22c604c95ddb3b10b5d3bb85b6ff4dbc34f:

  fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF (2024-09-01 10:30:25 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc7.fixes

----------------------------------------------------------------
Baokun Li (1):
      fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF

David Howells (1):
      mm: Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range()

 fs/netfs/fscache_main.c | 1 +
 mm/filemap.c            | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-08-26 15:25 Christian Brauner
  2024-08-27  5:04 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-08-26 15:25 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

/* Summary */
This contains fixes for this merge window:

VFS:

- Ensure that backing files uses file->f_ops->splice_write() for splice.

netfs:

- Revert the removal of PG_private_2 from netfs_release_folio() as cephfs still
  relies on this.

- When AS_RELEASE_ALWAYS is set on a mapping the folio needs to always be
  invalidated during truncation.

- Fix losing untruncated data in a folio by making letting
  netfs_release_folio() return false if the folio is dirty.

- Fix trimming of streaming-write folios in netfs_inval_folio() .

- Reset iterator before retrying a short read.

- Fix interaction of streaming writes with zero-point tracker

afs:

- During truncation afs currently calls truncate_setsize() which sets i_size,
  expands the pagecache and truncates it. The first two operations aren't
  needed because they will have already been done. So call truncate_pagecache()
  instead and skip the redundant parts.

overlayfs:

- Fix checking of the number of allowed lower layers so 500 layers can actually
  be used instead of just 499

- Add missing '\n' to pr_err() output.

- Pass string to ovl_parse_layer() and thus allow it to be used for
  Opt_lowerdir as well.

pidfd:

- Revert blocking the creation of pidfds for kthread as apparently userspace
  relies on this. Specifically, it breaks systemd during shutdown.

romfs:

- Fix romfs_read_folio() to use the correct offset with folio_zero_tail().

/* Testing */
Debian clang version 16.0.6 (27+b1)
gcc (Debian 14.2.0-1) 14.2.0

/* Conflicts */
No known conflicts.

The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:

  Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e00e99ba6c6b8e5239e75cd6684a6827d93c39a2:

  netfs: Fix interaction of streaming writes with zero-point tracker (2024-08-24 16:09:17 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc6.fixes

----------------------------------------------------------------
Christian Brauner (4):
      romfs: fix romfs_read_folio()
      Revert "pidfd: prevent creation of pidfds for kthreads"
      ovl: pass string to ovl_parse_layer()
      Merge patch series "ovl: simplify ovl_parse_param_lowerdir()"

David Howells (7):
      netfs, ceph: Partially revert "netfs: Replace PG_fscache by setting folio->private and marking dirty"
      mm: Fix missing folio invalidation calls during truncation
      afs: Fix post-setattr file edit to do truncation correctly
      netfs: Fix netfs_release_folio() to say no if folio dirty
      netfs: Fix trimming of streaming-write folios in netfs_inval_folio()
      netfs: Fix missing iterator reset on retry of short read
      netfs: Fix interaction of streaming writes with zero-point tracker

Ed Tsai (1):
      backing-file: convert to using fops->splice_write

Zhihao Cheng (2):
      ovl: fix wrong lowerdir number check for parameter Opt_lowerdir
      ovl: ovl_parse_param_lowerdir: Add missed '\n' for pr_err

 fs/afs/inode.c           | 11 ++++++---
 fs/backing-file.c        |  5 +++-
 fs/ceph/inode.c          |  1 +
 fs/netfs/io.c            |  1 +
 fs/netfs/misc.c          | 60 ++++++++++++++++++++++++++++++++++++------------
 fs/netfs/write_collect.c |  7 ++++++
 fs/overlayfs/params.c    | 51 ++++++++++------------------------------
 fs/romfs/super.c         |  2 +-
 kernel/fork.c            | 25 +++-----------------
 mm/truncate.c            |  4 ++--
 10 files changed, 84 insertions(+), 83 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-08-14 13:29 Christian Brauner
  2024-08-14 16:28 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-08-14 13:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

/* Summary */
This contains fixes for this merge window:

VFS:

-  Fix the name of file lease slab cache. When file leases were split out of
   file locks the name of the file lock slab cache was used for the file leases
   slab cache as well.

- Fix a type in take_fd() helper.

- Fix infinite directory iteration for stable offsets in tmpfs.

- When the icache is pruned all reclaimable inodes are marked with I_FREEING
  and other processes that try to lookup such inodes will block.

  But some filesystems like ext4 can trigger lookups in their inode evict
  callback causing deadlocks. Ext4 does such lookups if the ea_inode feature is
  used whereby a separate inode may be used to store xattrs.

  Introduce I_LRU_ISOLATING which pins the inode while its pages are
  reclaimed. This avoids inode deletion during inode_lru_isolate() avoiding the
  deadlock and evict is made to wait until I_LRU_ISOLATING is done.

netfs:

- Fault in smaller chunks for non-large folio mappings for filesystems that
  haven't been converted to large folios yet.

- Fix the CONFIG_NETFS_DEBUG config option. The config option was renamed a
  short while ago and that introduced two minor issues. First, it depended on
  CONFIG_NETFS whereas it wants to depend on CONFIG_NETFS_SUPPORT. The former
  doesn't exist, while the latter does. Second, the documentation for the
  config option wasn't fixed up.

- Revert the removal of the PG_private_2 writeback flag as ceph is using it and
  fix how that flag is handled in netfs.

- Fix DIO reads on 9p. A program watching a file on a 9p mount wouldn't see any
  changes in the size of the file being exported by the server if the file was
  changed directly in the source filesystem. Fix this by attempting to read the
  full size specified when a DIO read is requested.

- Fix a NULL pointer dereference bug due to a data race where a cachefiles
  cookies was retired even though it was still in use. Check the cookie's
  n_accesses counter before discarding it.

nsfs:

- Fix ioctl declaration for NS_GET_MNTNS_ID from _IO() to _IOR() as the kernel
  is writing to userspace.

pidfs:

- Prevent the creation of pidfds for kthreads until we have a use-case for it
  and we know the semantics we want. It also confuses userspace why they can
  get pidfds for kthreads.

squashfs:

- Fix an unitialized value bug reported by KMSAN caused by a corrupted symbolic
  link size read from disk. Check that the symbolic link size is not larger
  than expected.

The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

  Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11-rc4.fixes

for you to fetch changes up to 810ee43d9cd245d138a2733d87a24858a23f577d:

  Squashfs: sanity check symbolic link size (2024-08-13 13:56:46 +0200)

----------------------------------------------------------------
vfs-6.11-rc4.fixes

----------------------------------------------------------------
Christian Brauner (2):
      nsfs: fix ioctl declaration
      pidfd: prevent creation of pidfds for kthreads

David Howells (2):
      netfs, ceph: Revert "netfs: Remove deprecated use of PG_private_2 as a second writeback flag"
      netfs: Fix handling of USE_PGPRIV2 and WRITE_TO_CACHE flags

Dominique Martinet (1):
      9p: Fix DIO read through netfs

Lukas Bulwahn (1):
      netfs: clean up after renaming FSCACHE_DEBUG config

Mathias Krause (1):
      file: fix typo in take_fd() comment

Matthew Wilcox (Oracle) (1):
      netfs: Fault in smaller chunks for non-large folio mappings

Max Kellermann (1):
      fs/netfs/fscache_cookie: add missing "n_accesses" check

Omar Sandoval (1):
      filelock: fix name of file_lease slab cache

Phillip Lougher (1):
      Squashfs: sanity check symbolic link size

Zhihao Cheng (1):
      vfs: Don't evict inode under the inode lru traversing context

yangerkun (1):
      libfs: fix infinite directory reads for offset dir

 Documentation/filesystems/caching/fscache.rst |   8 +-
 fs/9p/vfs_addr.c                              |   3 +-
 fs/afs/file.c                                 |   3 +-
 fs/ceph/addr.c                                |  28 ++++-
 fs/ceph/inode.c                               |   2 -
 fs/inode.c                                    |  39 ++++++-
 fs/libfs.c                                    |  35 ++++--
 fs/locks.c                                    |   2 +-
 fs/netfs/Kconfig                              |   2 +-
 fs/netfs/buffered_read.c                      | 123 +++++++++++++++++---
 fs/netfs/buffered_write.c                     |   2 +-
 fs/netfs/fscache_cookie.c                     |   4 +
 fs/netfs/io.c                                 | 161 +++++++++++++++++++++++++-
 fs/netfs/objects.c                            |  10 --
 fs/netfs/write_issue.c                        |   4 +-
 fs/nfs/fscache.c                              |   5 +-
 fs/nfs/fscache.h                              |   2 -
 fs/smb/client/file.c                          |   3 +-
 fs/squashfs/inode.c                           |   7 +-
 include/linux/file.h                          |   2 +-
 include/linux/fs.h                            |   5 +
 include/linux/netfs.h                         |   3 -
 include/trace/events/netfs.h                  |   2 +
 include/uapi/linux/nsfs.h                     |   3 +-
 kernel/fork.c                                 |  25 +++-
 25 files changed, 412 insertions(+), 71 deletions(-)

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

/* Summary */
This contains two fixes for this merge window:

VFS:

- I noticed that it is possible for a privileged user to mount most filesystems
  with a non-initial user namespace in sb->s_user_ns. When fsopen() is called
  in a non-init namespace the caller's namespace is recorded in
  fs_context->user_ns. If the returned file descriptor is then passed to a
  process privileged in init_user_ns, that process can call
  fsconfig(fd_fs, FSCONFIG_CMD_CREATE*), creating a new superblock with
  sb->s_user_ns set to the namespace of the process which called fsopen().

  This is problematic as only filesystems that raise FS_USERNS_MOUNT are known
  to be able to support a non-initial s_user_ns. Others may suffer security
  issues, on-disk corruption or outright crash the kernel. Prevent that by
  restricting such delegation to filesystems that allow FS_USERNS_MOUNT.

  Note, that this delegation requires a privileged process to actually create
  the superblock so either the privileged process is cooperaing or someone must
  have tricked a privileged process into operating on a fscontext file
  descriptor whose origin it doesn't know (a stupid idea).

  The bug dates back to about 5 years afaict.

misc:

- Fix hostfs parsing when the mount request comes in via the legacy mount api.
  In the legacy mount api hostfs allows to specify the host directory mount
  without any key. Restore that behavior.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

/* Conflicts */
No known conflicts.

The following changes since commit c33ffdb70cc6df4105160f991288e7d2567d7ffa:

  Merge tag 'phy-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy (2024-07-24 13:11:28 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ef9ca17ca458ac7253ae71b552e601e49311fc48:

  hostfs: fix the host directory parse when mounting. (2024-07-27 09:56:33 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc1.fixes.3

----------------------------------------------------------------
Hongbo Li (1):
      hostfs: fix the host directory parse when mounting.

Seth Forshee (DigitalOcean) (1):
      fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT

 fs/hostfs/hostfs_kern.c | 65 +++++++++++++++++++++++++++++++++++++++++--------
 fs/super.c              | 11 +++++++++
 2 files changed, 66 insertions(+), 10 deletions(-)

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

/* Summary */
This contains fixes for this merge window:

VFS:

- The new 64bit mount ids start after the old mount id, i.e., at the first
  non-32 bit value. However, we started counting one id too late and thus lost
  4294967296 as the first valid id. Fix that.

- Update a few comments on some vfs_*() creation helpers.

- Move copying of the xattr name out from the locks required to start a
  filesystem write.

- Extend the filelock lock UAF fix to the compat code as well.

- Now that we added the ability to look up an inode under RCU it's possible
  that lockless hash lookup can find and lock an inode after it gets I_FREEING
  set. It then waits until inode teardown in evict() is finished.

  The flag however is still set after evict() has woken up all waiters. If the
  inode lock is taken late enough on the waiting side after hash removal and
  wakeup happened the waiting thread will never be woken.

  Before RCU based lookup this was synchronized via the inode_hash_lock. But
  since unhashing requires the inode lock as well we can check whether the
  inode is unhashed while holding inode lock even without holding
  inode_hash_lock.

pidfd:

- The nsproxy structure contains nearly all of the namespaces associated with a
  task. When a namespace type isn't supported nsproxy might contain a NULL
  pointer or always point to the initial namespace type. The logic isn't
  consistent. So when deriving namespace fds we need to ensure that the
  namespace type is supported.

  First, so that we don't risk dereferncing NULL pointers. The correct bigger
  fix would be to change all namespaces to always set a valid namespace pointer
  in struct nsproxy independent of whether or not it is compiled in. But that
  requires quite a few changes.

  Second, so that we don't allow deriving namespace fds when the namespace type
  doesn't exist and thus when they couldn't also be derived via /proc/self/ns/.

- Add missing selftests for the new pidfd ioctls to derive namespace fds. This
  simply extends the already existing testsuite.

netfs:

- Fix debug logging and fix kconfig variable name so it actually works.

- Fix writeback that goes both to the server and cache. The streams are only
  activated once a subreq is added. When a server write happens the subreq
  doesn't need to have finished by the time the cache write is started. If the
  server write has already finished by the time the cache write is about to
  start the cache write will operate on a folio that might already have been
  reused. Fix this by preactivating the cache write.

- Limit cachefiles subreq size for cache writes to MAX_RW_COUNT.

The following changes since commit 933069701c1b507825b514317d4edd5d3fd9d417:

  Merge tag '6.11-rc-smb3-server-fixes' of git://git.samba.org/ksmbd (2024-07-21 20:50:39 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f5e5e97c719d289025afce07050effcf1f7373ef:

  inode: clarify what's locked (2024-07-24 11:11:40 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc1.fixes.2

----------------------------------------------------------------
Christian Brauner (4):
      pidfs: handle kernels without namespaces cleanly
      pidfs: add selftests for new namespace ioctls
      fs: use all available ids
      inode: clarify what's locked

Congjie Zhou (1):
      vfs: correct the comments of vfs_*() helpers

David Howells (5):
      netfs: Revert "netfs: Switch debug logging to pr_debug()"
      netfs: Rename CONFIG_FSCACHE_DEBUG to CONFIG_NETFS_DEBUG
      netfs: Fix writeback that needs to go to both server and cache
      cachefiles: Set the max subreq size for cache writes to MAX_RW_COUNT
      vfs: Fix potential circular locking through setxattr() and removexattr()

Edward Adam Davis (1):
      pidfs: when time ns disabled add check for ioctl

Jann Horn (1):
      filelock: Fix fcntl/close race recovery compat path

Mateusz Guzik (1):
      vfs: handle __wait_on_freeing_inode() and evict() race

 fs/cachefiles/io.c                               |   2 +-
 fs/inode.c                                       |  40 +++-
 fs/locks.c                                       |   9 +-
 fs/namei.c                                       |  26 +--
 fs/namespace.c                                   |   2 +-
 fs/netfs/Kconfig                                 |  18 +-
 fs/netfs/buffered_read.c                         |  14 +-
 fs/netfs/buffered_write.c                        |  12 +-
 fs/netfs/direct_read.c                           |   2 +-
 fs/netfs/direct_write.c                          |   8 +-
 fs/netfs/fscache_cache.c                         |   4 +-
 fs/netfs/fscache_cookie.c                        |  28 +--
 fs/netfs/fscache_io.c                            |  12 +-
 fs/netfs/fscache_main.c                          |   2 +-
 fs/netfs/fscache_volume.c                        |   4 +-
 fs/netfs/internal.h                              |  33 ++-
 fs/netfs/io.c                                    |  12 +-
 fs/netfs/main.c                                  |   4 +
 fs/netfs/misc.c                                  |   4 +-
 fs/netfs/write_collect.c                         |  16 +-
 fs/netfs/write_issue.c                           |  37 ++--
 fs/pidfs.c                                       |  63 ++++--
 fs/xattr.c                                       |  91 ++++----
 tools/testing/selftests/pidfd/pidfd_setns_test.c | 258 ++++++++++++++++++++---
 24 files changed, 488 insertions(+), 213 deletions(-)

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

/* Summary */
This contains fixes for this merge window:

- Fix a missing rcu_read_unlock() in nsfs by switching to a cleanup guard.

- Add missing module descriptor for adfs.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

/* Conflicts */
No known conflicts.

The following changes since commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683:

  Merge tag 'media/v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2024-07-17 18:30:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 280e36f0d5b997173d014c07484c03a7f7750668:

  nsfs: use cleanup guard (2024-07-18 09:50:08 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc1.fixes

----------------------------------------------------------------
Christian Brauner (1):
      nsfs: use cleanup guard

Jeff Johnson (1):
      fs/adfs: add MODULE_DESCRIPTION

 fs/adfs/super.c | 1 +
 fs/nsfs.c       | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-07-11  5:09 Christian Brauner
  2024-07-11 19:24 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-07-11  5:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

/* Summary */
This contains fixes for this merge window:

cachefiles:
- Export an existing and add a new cachefile helper to be used in filesystems
  to fix reference count bugs.
- Use the newly added fscache_ty_get_volume() helper to get a reference count
  on an fscache_volume to handle volumes that are about to be removed cleanly.
- After withdrawing a fscache_cache via FSCACHE_CACHE_IS_WITHDRAWN wait for all
  ongoing cookie lookups to complete and for the object count to reach zero.
- Propagate errors from vfs_getxattr() to avoid an infinite loop in
  cachefiles_check_volume_xattr() because it keeps seeing ESTALE.
- Don't send new requests when an object is dropped by raising
  CACHEFILES_ONDEMAND_OJBSTATE_DROPPING.
- Cancel all requests for an object that is about to be dropped.
- Wait for the ondemand_boject_worker to finish before dropping a cachefiles
  object to prevent use-after-free.
- Use cyclic allocation for message ids to better handle id recycling.
- Add missing lock protection when iterating through the xarray when polling.

netfs:
- Use standard logging helpers for debug logging.

VFS:
- Fix potential use-after-free in file locks during trace_posix_lock_inode().
  The tracepoint could fire while another task raced it and freed the lock that
  was requested to be traced.
- Only increment the nr_dentry_negative counter for dentries that are present
  on the superblock LRU. Currently, DCACHE_LRU_LIST list is used to detect this
  case. However, the flag is also raised in combination with DCACHE_SHRINK_LIST
  to indicate that dentry->d_lru is used. So checking only DCACHE_LRU_LIST will
  lead to wrong nr_dentry_negative count. Fix the check to not count dentries
  that are on a shrink related list.

Misc:
- hfsplus: fix an uninitialized value issue in copy_name.
- minix: fix minixfs_rename with HIGHMEM. It still uses kunmap() even though we
  switched it to kmap_local_page() a while ago.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on v6.10-rc6. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826:

  Linux 6.10-rc6 (2024-06-30 14:40:44 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3d1bec293378700dddc087d4d862306702276c23:

  minixfs: Fix minixfs_rename with HIGHMEM (2024-07-10 07:15:36 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc8.fixes

----------------------------------------------------------------
Baokun Li (7):
      netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
      cachefiles: fix slab-use-after-free in fscache_withdraw_volume()
      cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()
      cachefiles: propagate errors from vfs_getxattr() to avoid infinite loop
      cachefiles: stop sending new request when dropping object
      cachefiles: cancel all requests for the object that is being dropped
      cachefiles: cyclic allocation of msg_id to avoid reuse

Brian Foster (1):
      vfs: don't mod negative dentry count when on shrinker list

Christian Brauner (1):
      Merge patch series "cachefiles: random bugfixes"

Edward Adam Davis (1):
      hfsplus: fix uninit-value in copy_name

Hou Tao (1):
      cachefiles: wait for ondemand_object_worker to finish when dropping object

Jeff Layton (1):
      filelock: fix potential use-after-free in posix_lock_inode

Jingbo Xu (1):
      cachefiles: add missing lock protection when polling

Matthew Wilcox (Oracle) (1):
      minixfs: Fix minixfs_rename with HIGHMEM

Uwe Kleine-König (1):
      netfs: Switch debug logging to pr_debug()

 fs/cachefiles/cache.c          | 45 +++++++++++++++++++++++++++++++++++-
 fs/cachefiles/daemon.c         |  4 ++--
 fs/cachefiles/internal.h       |  3 +++
 fs/cachefiles/ondemand.c       | 52 +++++++++++++++++++++++++++++++++++++-----
 fs/cachefiles/volume.c         |  1 -
 fs/cachefiles/xattr.c          |  5 +++-
 fs/dcache.c                    | 12 +++++++---
 fs/hfsplus/xattr.c             |  2 +-
 fs/locks.c                     |  2 +-
 fs/minix/namei.c               |  3 +--
 fs/netfs/buffered_read.c       | 14 ++++++------
 fs/netfs/buffered_write.c      | 12 +++++-----
 fs/netfs/direct_read.c         |  2 +-
 fs/netfs/direct_write.c        |  8 +++----
 fs/netfs/fscache_cache.c       |  4 ++--
 fs/netfs/fscache_cookie.c      | 28 +++++++++++------------
 fs/netfs/fscache_io.c          | 12 +++++-----
 fs/netfs/fscache_main.c        |  2 +-
 fs/netfs/fscache_volume.c      | 18 +++++++++++++--
 fs/netfs/internal.h            | 35 +---------------------------
 fs/netfs/io.c                  | 12 +++++-----
 fs/netfs/main.c                |  4 ----
 fs/netfs/misc.c                |  4 ++--
 fs/netfs/write_collect.c       | 16 ++++++-------
 fs/netfs/write_issue.c         | 36 ++++++++++++++---------------
 include/linux/fscache-cache.h  |  6 +++++
 include/trace/events/fscache.h |  4 ++++
 27 files changed, 213 insertions(+), 133 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-07-02 19:44 Christian Brauner
  2024-07-02 20:56 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-07-02 19:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains three fixes:

VFS:

- Improve handling of deep ancestor chains in is_subdir().
- Release locks cleanly when fctnl_setlk() races with close().
  When setting a file lock fails the VFS tries to cleanup the already
  created lock. The helper used for this calls back into the LSM layer
  which may cause it to fail, leaving the lock accessible via
  /proc/locks.

AFS:

- Fix a comma/semicolon typo.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on v6.10-rc6. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826:

  Linux 6.10-rc6 (2024-06-30 14:40:44 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 655593a40efc577edc651f1d5c5dfde83367c477:

  afs: Convert comma to semicolon (2024-07-02 21:23:00 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc7.fixes.2

----------------------------------------------------------------
Chen Ni (1):
      afs: Convert comma to semicolon

Christian Brauner (1):
      fs: better handle deep ancestor chains in is_subdir()

Jann Horn (1):
      filelock: Remove locks reliably when fcntl/close race is detected

 fs/afs/inode.c |  4 ++--
 fs/dcache.c    | 31 ++++++++++++++-----------------
 fs/locks.c     |  9 ++++-----
 3 files changed, 20 insertions(+), 24 deletions(-)

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

Hey Linus,

/* Summary */
This contains fixes for this merge window:

Misc:
- Don't misleadingly warn during filesystem thaw operations. It's possible that
  a block device which was frozen before it was mounted can cause a failing
  thaw operation if someone concurrently tried to mount it while that thaw
  operation was issued and the device had already been temporarily claimed for
  the mount (The mount will of course be aborted because the device is frozen).

netfs:
- Fix io_uring based write-through. Make sure that the total request length is
  correctly set.
- Fix partial writes to folio tail.
- Remove some xarray helpers that were intended for bounce buffers which got
  defered to a later patch series.
- Make netfs_page_mkwrite() whether folio->mapping is vallid after acquiring
  the folio lock.
- Make netfs_page_mkrite() flush conflicting data instead of waiting.

fsnotify:
- Ensure that fsnotify creation events are generated before fsnotify open
  events when a file is created via ->atomic_open(). The ordering was broken
  before.
- Ensure that no fsnotify events are generated for O_PATH file descriptors.
  While no fsnotify open events were generated, fsnotify close events were.
  Make it consistent and don't produce any.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

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

/* Conflicts */
No known conflicts.

The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670:

  Linux 6.10-rc3 (2024-06-09 14:19:43 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9d66154f73b7c7007c3be1113dfb50b99b791f8f:

  netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait (2024-06-26 14:19:08 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc7.fixes

----------------------------------------------------------------
Christian Brauner (1):
      fs: don't misleadingly warn during thaw operations

David Howells (5):
      netfs: Fix io_uring based write-through
      netfs: Fix early issue of write op on partial write to folio tail
      netfs: Delete some xarray-wangling functions that aren't used
      netfs: Fix netfs_page_mkwrite() to check folio->mapping is valid
      netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait

Jan Kara (1):
      fsnotify: Do not generate events for O_PATH file descriptors

NeilBrown (1):
      vfs: generate FS_CREATE before FS_OPEN when ->atomic_open used.

 fs/namei.c                | 10 ++++--
 fs/netfs/buffered_write.c | 12 +++++--
 fs/netfs/direct_write.c   |  3 +-
 fs/netfs/internal.h       |  9 ------
 fs/netfs/misc.c           | 81 -----------------------------------------------
 fs/netfs/write_issue.c    |  2 +-
 fs/open.c                 | 22 +++++++++----
 fs/super.c                | 11 ++++++-
 include/linux/fsnotify.h  |  8 ++++-
 9 files changed, 52 insertions(+), 106 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-06-10 14:09 Christian Brauner
  2024-06-11 19:15 ` Linus Torvalds
  2024-06-11 23:42 ` pr-tracker-bot
  0 siblings, 2 replies; 188+ messages in thread
From: Christian Brauner @ 2024-06-10 14:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains fixes for this merge window:

* Restore debugfs behavior of ignoring unknown mount options.
* Fix kernel doc for netfs_wait_for_oustanding_io().
* Remove unneeded fdtable.h include in cachefiles.
* Fix struct statx comment after new addition for this cycle.
* Fix data zeroing behavior when an extent spans the block that contains i_size.
* Restore i_size increasing in iomap_write_end() for now to avoid stale data
  exposure on xfs with a realtime device.
* Fix a check in find_next_fd().
* Improve trace output for cachefiles_obj_{get,put}_ondemand_fd().
* Remove requests from the request list in cachefiles to prevent accessing
  already freed requests.
* Fix UAF when issuing restore command while the daemon is still alive by
  adding an additional reference count to cachefile requests.
* Fix UAF in cachefiles by grabbing a reference during xarray lookup with
  xa_lock() held.
* Simplify error handling in cachefiles_ondemand_daemon_read().
* Add consistency checks to cachefiles read and open requests to avoid crashes.
* Add a spinlock to protect ondemand_id variable which is used to determine
  whether an anonymous cachefiles fd has already been closed.
* Make on-demand reads for cachefiles killable allowing to handle broken
  cachefiles daemon better.
* Flush all requests after the kernel has been marked dead via CACHEFILES_DEAD
  to avoid hung-tasks.
* Ensure that closed requests are marked as such to avoid reusing them with a
  reopen request.
* Defer fd_install() until after copy_to_user() succeeded in cachefiles and
  thereby get rid of having to use close_fd().
* Ensure that anonymous cachefiles on-demand fds are reused while they are
  valid to avoid pinning already freed cookies.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on mainline. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 2bfcfd584ff5ccc8bb7acde19b42570414bf880b:

  Merge tag 'pmdomain-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm (2024-05-27 08:18:31 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.10-rc4.fixes

for you to fetch changes up to f5ceb1bbc98c69536d4673a97315e8427e67de1b:

  iomap: Fix iomap_adjust_read_range for plen calculation (2024-06-05 17:27:03 +0200)

Please consider pulling these changes from the signed vfs-6.10-rc4.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc4.fixes

----------------------------------------------------------------
Baokun Li (11):
      cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
      cachefiles: remove requests from xarray during flushing requests
      cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()
      cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
      cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
      cachefiles: add consistency check for copen/cread
      cachefiles: add spin_lock for cachefiles_ondemand_info
      cachefiles: never get a new anonymous fd if ondemand_id is valid
      cachefiles: defer exposing anon_fd until after copy_to_user() succeeds
      cachefiles: flush all requests after setting CACHEFILES_DEAD
      cachefiles: make on-demand read killable

Christian Brauner (3):
      debugfs: continue to ignore unknown mount options
      netfs: fix kernel doc for nets_wait_for_outstanding_io()
      Merge patch series "cachefiles: some bugfixes and cleanups for ondemand requests"

Gao Xiang (1):
      cachefiles: remove unneeded include of <linux/fdtable.h>

John Garry (1):
      statx: Update offset commentary for struct statx

Ritesh Harjani (IBM) (1):
      iomap: Fix iomap_adjust_read_range for plen calculation

Yuntao Wang (1):
      fs/file: fix the check in find_next_fd()

Zhang Yi (1):
      iomap: keep on increasing i_size in iomap_write_end()

Zizhi Wo (1):
      cachefiles: Set object to close if ondemand_id < 0 in copen

 fs/cachefiles/daemon.c            |   3 +-
 fs/cachefiles/internal.h          |   5 +
 fs/cachefiles/ondemand.c          | 218 ++++++++++++++++++++++++++++----------
 fs/debugfs/inode.c                |  10 +-
 fs/file.c                         |   4 +-
 fs/iomap/buffered-io.c            |  56 +++++-----
 include/linux/netfs.h             |   2 +-
 include/trace/events/cachefiles.h |   8 +-
 include/uapi/linux/stat.h         |   2 +-
 9 files changed, 215 insertions(+), 93 deletions(-)

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

Hey Linus,

/* Summary */
This contains a few small fixes for this merge window:

* Fix io_uring based write-through after converting cifs to use the netfs
  library.
* Fix aio error handling when doing write-through via netfs library.
* Fix performance regression in iomap when used with non-large folio mappings.
* Fix signalfd error code.
* Remove obsolete comment in signalfd code.
* Fix async request indication in netfs_perform_write() by raising BDP_ASYNC
  when IOCB_NOWAIT is set.
* Yield swap device immediately to prevent spurious EBUSY errors.
* Don't cross a .backup mountpoint from backup volumes in afs to avoid infinite
  loops.
* Fix a race between umount and async request completion in 9p after 9p was
  converted to use the netfs library.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on mainline. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 8f6a15f095a63a83b096d9b29aaff4f0fbe6f6e6:

  Merge tag 'cocci-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux (2024-05-20 16:00:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f89ea63f1c65d3e93b255f14f9d9e05df87955fa:

  netfs, 9p: Fix race between umount and async request completion (2024-05-27 13:12:13 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc2.fixes

----------------------------------------------------------------
Christian Brauner (1):
      swap: yield device immediately

David Howells (4):
      netfs: Fix io_uring based write-through
      netfs: Fix AIO error handling when doing write-through
      netfs: Fix setting of BDP_ASYNC from iocb flags
      netfs, 9p: Fix race between umount and async request completion

Fedor Pchelkin (2):
      signalfd: fix error return code
      signalfd: drop an obsolete comment

Marc Dionne (1):
      afs: Don't cross .backup mountpoint from backup volume

Xu Yang (2):
      filemap: add helper mapping_max_folio_size()
      iomap: fault in smaller chunks for non-large folio mappings

 fs/9p/vfs_inode.c         |  1 +
 fs/afs/inode.c            |  1 +
 fs/afs/mntpt.c            |  5 +++++
 fs/iomap/buffered-io.c    |  2 +-
 fs/netfs/buffered_write.c |  2 +-
 fs/netfs/direct_write.c   |  2 +-
 fs/netfs/objects.c        |  5 +++++
 fs/netfs/write_collect.c  |  7 ++++---
 fs/netfs/write_issue.c    |  9 +++++++--
 fs/signalfd.c             |  6 +-----
 fs/smb/client/cifsfs.c    |  1 +
 include/linux/netfs.h     | 18 ++++++++++++++++++
 include/linux/pagemap.h   | 34 +++++++++++++++++++++-------------
 kernel/power/swap.c       |  2 +-
 14 files changed, 68 insertions(+), 27 deletions(-)

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

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(-)

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

Hey Linus,

/* Summary */
This contains a few small fixes. This comes with some delay because I
wanted to wait on people running their reproducers and the Easter
Holidays meant that those replies came in a little later than usual:

* Fix handling of preventing writes to mounted block devices.

  Since last kernel we allow to prevent writing to mounted block devices
  provided CONFIG_BLK_DEV_WRITE_MOUNTED isn't set and the block device
  is opened with restricted writes. When we switched to opening block
  devices as files we altered the mechanism by which we recognize when a
  block device has been opened with write restrictions. The detection
  logic assumed that only read-write mounted filesystems would apply
  write restrictions to their block devices from other openers. That of
  course is not true since it also makes sense to apply write
  restrictions for filesystems that are read-only.

  Fix the detection logic using an FMODE_* bit. We still have a few left
  since we freed up a couple a while ago. I also picked up a patch to
  free up four additional FMODE_* bits scheduled for the next merge window.

* Fix counting the number of writers to a block device. This just
  changes the logic to be consistent.

* Fix a bug in aio causing a NULL pointer derefernce after we
  implemented batched processing in aio.

* Finally, add the changes we discussed that allows to yield block
  devices early even though file closing itself is deferred. This also
  allows us to remove two holder operations to get and release the
  holder to align lifetime of file and holder of the block device.

/* 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-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

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

for you to fetch changes up to caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd:

  aio: Fix null ptr deref in aio_complete() wakeup (2024-04-05 11:20:28 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.9-rc3.fixes

----------------------------------------------------------------
Christian Brauner (3):
      block: handle BLK_OPEN_RESTRICT_WRITES correctly
      block: count BLK_OPEN_RESTRICT_WRITES openers
      fs,block: yield devices early

Kent Overstreet (1):
      aio: Fix null ptr deref in aio_complete() wakeup

 block/bdev.c                    | 84 ++++++++++++++++++++++++++++++++---------
 drivers/mtd/devices/block2mtd.c |  2 +-
 fs/aio.c                        |  2 +-
 fs/bcachefs/super-io.c          |  2 +-
 fs/cramfs/inode.c               |  2 +-
 fs/ext4/super.c                 |  8 ++--
 fs/f2fs/super.c                 |  2 +-
 fs/jfs/jfs_logmgr.c             |  4 +-
 fs/reiserfs/journal.c           |  2 +-
 fs/romfs/super.c                |  2 +-
 fs/super.c                      | 24 ++----------
 fs/xfs/xfs_buf.c                |  2 +-
 fs/xfs/xfs_super.c              |  6 +--
 include/linux/blkdev.h          | 11 +-----
 include/linux/fs.h              |  2 +
 15 files changed, 89 insertions(+), 66 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-03-18 12:19 Christian Brauner
  2024-03-18 16:48 ` pr-tracker-bot
  2024-03-18 19:14 ` Linus Torvalds
  0 siblings, 2 replies; 188+ messages in thread
From: Christian Brauner @ 2024-03-18 12:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains a few small fixes for this merge window:

* Undo the hiding of silly-rename files in afs. If they're hidden they
  can't be deleted by rm manually anymore causing regressions.
* Avoid caching the preferred address for an afs server to avoid
  accidently overriding an explicitly specified preferred server address.
* Fix bad stat() and rmdir() interaction in afs.
* Take a passive reference on the superblock when opening a block device
  so the holder is available to concurrent callers from the block layer.
* Clear private data pointer in fscache_begin_operation() to avoid it
  being falsely treated as valid.

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

All patches are based on mainline and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 480e035fc4c714fb5536e64ab9db04fedc89e910:

  Merge tag 'drm-next-2024-03-13' of https://gitlab.freedesktop.org/drm/kernel (2024-03-13 18:34:05 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 449ac5514631dd9b9b66dd708dd5beb1428e2812:

  fscache: Fix error handling in fscache_begin_operation() (2024-03-18 10:33:48 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.9-rc1.fixes

----------------------------------------------------------------
Christian Brauner (1):
      fs,block: get holder during claim

David Howells (4):
      afs: Revert "afs: Hide silly-rename files from userspace"
      afs: Don't cache preferred address
      afs: Fix occasional rmdir-then-VNOVNODE with generic/011
      fscache: Fix error handling in fscache_begin_operation()

 block/bdev.c           |  7 +++++++
 fs/afs/dir.c           | 10 ----------
 fs/afs/rotate.c        | 21 ++++-----------------
 fs/afs/validation.c    | 16 +++++++++-------
 fs/netfs/fscache_io.c  |  4 +++-
 fs/super.c             | 18 ++++++++++++++++++
 include/linux/blkdev.h | 10 ++++++++++
 7 files changed, 51 insertions(+), 35 deletions(-)

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

Hey Linus,

/* Summary */
This contains three fixes:

* Get rid of copy_mc flag in iov_iter which really only makes sense for
  the core dumping code so move it out of the generic iov iter code and
  make it coredump's problem. See the detailed commit description.
* Revert fs/aio: Make io_cancel() generate completions again
  The initial fix here was predicated on the assumption that calling
  ki_cancel() didn't complete aio requests. However, that turned out to
  be wrong since the two drivers that actually make use of this set
  a cancellation function that performs the cancellation correctly.
  So revert this change.
* Ensure that the test for IOCB_AIO_RW always happens before the read
  from ki_ctx.

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

All patches are based on v6.8-rc7 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

  Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.8-release.fixes

for you to fetch changes up to a50026bdb867c8caf9d29e18f9fe9e1390312619:

  iov_iter: get rid of 'copy_mc' flag (2024-03-06 10:52:12 +0100)

Please consider pulling these changes from the signed vfs-6.8-release.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.8-release.fixes

----------------------------------------------------------------
Bart Van Assche (2):
      Revert "fs/aio: Make io_cancel() generate completions again"
      fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

Linus Torvalds (1):
      iov_iter: get rid of 'copy_mc' flag

 fs/aio.c            | 35 ++++++++++++++++++++++-------------
 fs/coredump.c       | 45 ++++++++++++++++++++++++++++++++++++++++++---
 include/linux/uio.h | 16 ----------------
 lib/iov_iter.c      | 23 -----------------------
 4 files changed, 64 insertions(+), 55 deletions(-)

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

Hey Linus,

/* Summary */
This contains two small fixes:

* Fix an endless loop during afs directory iteration caused by not skipping
  silly-rename files correctly.

* Fix reporting of completion events for aio causing leaks in userspace.
  This is based on the fix last week as it's now possible to recognize
  aio events submitted through the old aio interface.

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

All patches are based on v6.8-rc6 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit d206a76d7d2726f3b096037f2079ce0bd3ba329b:

  Linux 6.8-rc6 (2024-02-25 15:46:06 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 54cbc058d86beca3515c994039b5c0f0a34f53dd:

  fs/aio: Make io_cancel() generate completions again (2024-02-27 11:20:44 +0100)

----------------------------------------------------------------
vfs-6.8-rc7.fixes

----------------------------------------------------------------
Bart Van Assche (1):
      fs/aio: Make io_cancel() generate completions again

David Howells (1):
      afs: Fix endless loop in directory parsing

 fs/afs/dir.c |  4 +++-
 fs/aio.c     | 27 +++++++++++----------------
 2 files changed, 14 insertions(+), 17 deletions(-)

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

Hey Linus,

/* Summary */
This contains a few fixes:

* Fix a memory leak in cachefiles.
* Restrict aio cancellations to I/O submitted through the aio interfaces as
  this is otherwise causing issues for I/O submitted via io_uring.
* Increase buffer for afs volume status to avoid overflow.
* Fix a missing zero-length check in unbuffered writes in the netfs library.
  If generic_write_checks() returns zero make netfs_unbuffered_write_iter()
  return right away.
* Prevent a leak in i_dio_count caused by netfs_begin_read() operaing pas
  i_size. It will return early and leave i_dio_count incremented.
* Account for ipv4 addresses as well ass ipv6 addresses when processing
  incoming callbacks in afs.

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

All patches are based on v6.8-rc2 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:

  Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)

are available in the Git repository at:

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

for you to fetch changes up to b820de741ae48ccf50dd95e297889c286ff4f760:

  fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio (2024-02-21 16:31:49 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.8-rc6.fixes

----------------------------------------------------------------
Baokun Li (1):
      cachefiles: fix memory leak in cachefiles_add_cache()

Bart Van Assche (1):
      fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio

Daniil Dulov (1):
      afs: Increase buffer size in afs_update_volume_status()

David Howells (1):
      netfs: Fix missing zero-length check in unbuffered write

Marc Dionne (2):
      netfs: Fix i_dio_count leak on DIO read past i_size
      afs: Fix ignored callbacks over ipv4

 fs/afs/internal.h         |  6 ++----
 fs/afs/main.c             |  3 +--
 fs/afs/server.c           | 14 +++++---------
 fs/afs/volume.c           |  4 ++--
 fs/aio.c                  |  9 ++++++++-
 fs/cachefiles/cache.c     |  2 ++
 fs/cachefiles/daemon.c    |  1 +
 fs/netfs/buffered_write.c |  3 +++
 fs/netfs/direct_write.c   |  5 ++++-
 fs/netfs/io.c             |  2 ++
 include/linux/fs.h        |  2 ++
 11 files changed, 32 insertions(+), 19 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-02-12 13:00 Christian Brauner
  2024-02-12 17:03 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-02-12 13:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains two small fixes:

* Fix performance regression introduced by moving the security permission hook
  out of do_clone_file_range() and into its caller vfs_clone_file_range(). This
  causes the security hook to be called in situation were it wasn't called
  before as the fast permission checks were left in do_clone_file_range(). Fix
  this by merging the two implementations back together and restoring the old
  ordering: fast permission checks first, expensive ones later.

* Tweak mount_setattr() permission checking so that mount properties on the
  real rootfs can be changed.

  When we added mount_setattr() we added additional checks compared to legacy
  mount(2). If the mouna had a parent then verify that the caller and the mount
  namespace the mount is attached to match and if not make sure that it's an
  anonymous mount.

  But the real rootfs falls into neither category. It is neither an anoymous
  mount because it is obviously attached to the initial mount namespace but it
  also obviously doesn't have a parent mount. So that means legacy mount(2)
  allows changing mount properties on the real rootfs but mount_setattr(2)
  blocks this. This causes regressions (See the commit for details).

  Fix this by relaxing the check. If the mount has a parent or if it isn't a
  detached mount, verify that the mount namespaces of the caller and the mount
  are the same. Technically, we could probably write this even simpler and
  check that the mount namespaces match if it isn't a detached mount. But the
  slightly longer check makes it clearer what conditions one needs to think
  about.

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

All patches are based on v6.8-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 46f5ab762d048dad224436978315cbc2fa79c630:

  fs: relax mount_setattr() permission checks (2024-02-07 21:16:29 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.8-rc5.fixes

----------------------------------------------------------------
Amir Goldstein (1):
      remap_range: merge do_clone_file_range() into vfs_clone_file_range()

Christian Brauner (1):
      fs: relax mount_setattr() permission checks

 fs/namespace.c         | 11 ++++++++---
 fs/overlayfs/copy_up.c | 14 ++++++--------
 fs/remap_range.c       | 31 +++++++++----------------------
 include/linux/fs.h     |  3 ---
 4 files changed, 23 insertions(+), 36 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2024-01-13 12:31 Christian Brauner
  2024-01-17 20:03 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2024-01-13 12:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains two fixes for the current merge window. The listmount changes
that you requested and a fix for a fsnotify performance regression:

* The proposed listmount changes are currently under my authorship. I wasn't
  sure whether you'd wanted to be author as the patch wasn't signed off. If you
  do I'm happy if you just apply your own patch.

  I've tested the patch with my sh4 cross-build setup. And confirmed that a)
  the build failure with sh on current upstream is reproducible and that b) the
  proposed patch fixes the build failure. That should only leave the task of
  fixing put_user on sh.

* The fsnotify regression was caused by moving one of the hooks out of the
  security hook in preparation for other fsnotify work. This meant that
  CONFIG_SECURITY would have compiled out the fsnotify hook before but didn't
  do so now. That lead to up to 6% performance regression in some io_uring
  workloads that compile all fsnotify and security checks out. Fix this by
  making sure that the relevant hooks are covered by the already existing
  CONFIG_FANOTIFY_ACCESS_PERMISSIONS where the relevant hook belongs.

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

All patches are based on mainline as of yesterday. No build failures or
warnings were observed. I've successfully tested the changes to listmount with
the selftests we added.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 70d201a40823acba23899342d62bc2644051ad2e:

  Merge tag 'f2fs-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2024-01-11 20:39:15 -0800)

are available in the Git repository at:

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

for you to fetch changes up to ba5afb9a84df2e6b26a1b6389b98849cd16ea757:

  fs: rework listmount() implementation (2024-01-13 13:06:25 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.8-rc1.fixes

----------------------------------------------------------------
Amir Goldstein (1):
      fsnotify: compile out fsnotify permission hooks if !FANOTIFY_ACCESS_PERMISSIONS

Christian Brauner (1):
      fs: rework listmount() implementation

 fs/namespace.c           | 50 +++++++++++++++++++++++++++---------------------
 include/linux/fsnotify.h | 19 ++++++++++++++++++
 include/linux/syscalls.h |  2 +-
 3 files changed, 48 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2023-11-24 10:27 Christian Brauner
  2023-11-24 18:25 ` Linus Torvalds
  2023-11-24 18:26 ` pr-tracker-bot
  0 siblings, 2 replies; 188+ messages in thread
From: Christian Brauner @ 2023-11-24 10:27 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains the usual miscellaneous fixes:

* Avoid calling back into LSMs from vfs_getattr_nosec() calls.

  IMA used to query inode properties accessing raw inode fields without
  dedicated helpers. That was finally fixed a few releases ago by
  forcing IMA to use vfs_getattr_nosec() helpers.

  The goal of the vfs_getattr_nosec() helper is to query for attributes
  without calling into the LSM layer which would be quite problematic
  because incredibly IMA is called from __fput()...

  __fput()
    -> ima_file_free()

  What it does is to call back into the filesystem to update the file's
  IMA xattr. Querying the inode without using vfs_getattr_nosec() meant
  that IMA didn't handle stacking filesystems such as overlayfs
  correctly. So the switch to vfs_getattr_nosec() is quite correct. But
  the switch to vfs_getattr_nosec() revealed another bug when used on
  stacking filesystems:

  __fput()
    -> ima_file_free()
       -> vfs_getattr_nosec()
          -> i_op->getattr::ovl_getattr()
             -> vfs_getattr()
                -> i_op->getattr::$WHATEVER_UNDERLYING_FS_getattr()
                   -> security_inode_getattr() # calls back into LSMs

  Now, if that __fput() happens from task_work_run() of an exiting task
  current->fs and various other pointer could already be NULL. So
  anything in the LSM layer relying on that not being NULL would be
  quite surprised.

  Fix that by passing the information that this is a security request
  through to the stacking filesystem by adding a new internal
  ATT_GETATTR_NOSEC flag. Now the callchain becomes:

  __fput()
    -> ima_file_free()
       -> vfs_getattr_nosec()
          -> i_op->getattr::ovl_getattr()
             -> if (AT_GETATTR_NOSEC)
                       vfs_getattr_nosec()
                else
                       vfs_getattr()
                -> i_op->getattr::$WHATEVER_UNDERLYING_FS_getattr()

* Fix a bug introduced with the iov_iter rework from last cycle.

  This broke /proc/kcore by copying too much and without the correct
  offset.

* Add a missing NULL check when allocating the root inode in
  autofs_fill_super().

* Fix stable writes for multi-device filesystems (xfs, btrfs etc) and
  the block device pseudo filesystem.

  Stable writes used to be a superblock flag only, making it a per
  filesystem property. Add an additional AS_STABLE_WRITES mapping flag
  to allow for fine-grained control.

* Ensure that offset_iterate_dir() returns 0 after reaching the end of a
  directory so it adheres to getdents() convention.

/* Testing */
clang: Debian clang version 16.0.6 (16)
gcc: gcc (Debian 13.2.0-5) 13.2.0

All patches are based on v6.7-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. Passes xfstests.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 796432efab1e372d404e7a71cc6891a53f105051:

  libfs: getdents() should return 0 after reaching EOD (2023-11-20 15:34:22 +0100)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.7-rc3.fixes

----------------------------------------------------------------
Christoph Hellwig (4):
      filemap: add a per-mapping stable writes flag
      block: update the stable_writes flag in bdev_add
      xfs: clean up FS_XFLAG_REALTIME handling in xfs_ioctl_setattr_xflags
      xfs: respect the stable writes flag on the RT device

Chuck Lever (1):
      libfs: getdents() should return 0 after reaching EOD

Ian Kent (1):
      autofs: add: new_inode check in autofs_fill_super()

Omar Sandoval (1):
      iov_iter: fix copy_page_to_iter_nofault()

Stefan Berger (1):
      fs: Pass AT_GETATTR_NOSEC flag to getattr interface function

 block/bdev.c               |  2 ++
 fs/autofs/inode.c          | 56 +++++++++++++++++-----------------------------
 fs/ecryptfs/inode.c        | 12 ++++++++--
 fs/inode.c                 |  2 ++
 fs/libfs.c                 | 14 +++++++++---
 fs/overlayfs/inode.c       | 10 ++++-----
 fs/overlayfs/overlayfs.h   |  8 +++++++
 fs/stat.c                  |  6 ++++-
 fs/xfs/xfs_inode.h         |  8 +++++++
 fs/xfs/xfs_ioctl.c         | 30 ++++++++++++++++---------
 fs/xfs/xfs_iops.c          |  7 ++++++
 include/linux/pagemap.h    | 17 ++++++++++++++
 include/uapi/linux/fcntl.h |  3 +++
 lib/iov_iter.c             |  2 +-
 mm/page-writeback.c        |  2 +-
 15 files changed, 121 insertions(+), 58 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2023-10-19 10:07 Christian Brauner
  2023-10-19 16:37 ` Linus Torvalds
  2023-10-19 18:36 ` pr-tracker-bot
  0 siblings, 2 replies; 188+ messages in thread
From: Christian Brauner @ 2023-10-19 10:07 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
An openat() call from io_uring triggering an audit call can apparently
cause the refcount of struct filename to be incremented from multiple
threads concurrently during async execution, triggering a refcount
underflow and hitting a BUG_ON(). That bug has been lurking around since
at least v5.16 apparently.

Switch to an atomic counter to fix that. The underflow check is
downgraded from a BUG_ON() to a WARN_ON_ONCE() but we could easily
remove that check altogether tbh and not waste an additional atomic. So
if you feel that extra check isn't needed you could just remove in case
you're pulling.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.6-rc6 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 94f6f0550c625fab1f373bb86a6669b45e9748b3:

  Linux 6.6-rc5 (2023-10-08 13:49:43 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 03adc61edad49e1bbecfb53f7ea5d78f398fe368:

  audit,io_uring: io_uring openat triggers audit reference count underflow (2023-10-13 18:34:46 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
v6.6-rc7.vfs.fixes

----------------------------------------------------------------
Dan Clash (1):
      audit,io_uring: io_uring openat triggers audit reference count underflow

 fs/namei.c         | 9 +++++----
 include/linux/fs.h | 2 +-
 kernel/auditsc.c   | 8 ++++----
 3 files changed, 10 insertions(+), 9 deletions(-)

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

Hey Linus,

/* Summary */
This contains the usual miscellaneous fixes and cleanups for vfs and
individual fses:

Fixes
=====

* Revert ki_pos on error from buffered writes for direct io fallback
* Add missing documentation for block device and superblock handling
  for changes merged this cycle.
* Fix reiserfs flexible array usage
* Ensure that overlayfs sets ctime when setting mtime and atime.
* Disable deferred caller completions with overlayfs writes until proper
  support exists.

Cleanups
========

* Remove duplicate initialization in pipe code.
* Annotate aio kioctx_table with __counted_by.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.5-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. xfstests pass without
regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

  Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/v6.6-rc4.vfs.fixes

for you to fetch changes up to 03dbab3bba5f009d053635c729d1244f2c8bad38:

  overlayfs: set ctime when setting mtime and atime (2023-09-25 14:53:54 +0200)

Please consider pulling these changes from the signed v6.6-rc4.vfs.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
v6.6-rc4.vfs.fixes

----------------------------------------------------------------
Al Viro (1):
      direct_write_fallback(): on error revert the ->ki_pos update from buffered write

Christian Brauner (3):
      porting: document new block device opening order
      porting: document superblock as block device holder
      ntfs3: put resources during ntfs_fill_super()

Chunhai Guo (1):
      fs-writeback: do not requeue a clean inode having skipped pages

Jeff Layton (1):
      overlayfs: set ctime when setting mtime and atime

Jens Axboe (1):
      ovl: disable IOCB_DIO_CALLER_COMP

Kees Cook (1):
      aio: Annotate struct kioctx_table with __counted_by

Max Kellermann (1):
      fs/pipe: remove duplicate "offset" initializer

Shigeru Yoshida (1):
      reiserfs: Replace 1-element array with C99 style flex-array

 Documentation/filesystems/porting.rst | 96 +++++++++++++++++++++++++++++++++++
 fs/aio.c                              |  2 +-
 fs/fs-writeback.c                     | 11 ++--
 fs/libfs.c                            |  1 +
 fs/ntfs3/super.c                      |  1 +
 fs/overlayfs/copy_up.c                |  2 +-
 fs/overlayfs/file.c                   |  6 +++
 fs/pipe.c                             |  1 -
 fs/reiserfs/reiserfs.h                |  6 +--
 9 files changed, 117 insertions(+), 9 deletions(-)

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

Hey Linus,

/* Summary */
This contains two minor fixes for Jan's rename locking work:
(1) Unlocking the source inode was guarded by a check whether source was
    non-NULL. This doesn't make sense because source must be non-NULL
    and the commit message explains in detail why.
(2) The lock_two_nondirectories() helper called WARN_ON_ONCE() and
    dereferenced the inodes unconditionally but the underlying
    lock_two_inodes() helper and the kernel documentation for that
    function are clear that it is valid to pass NULL arguments. So here
    a non-NULL check is needed. No caller does pass non-NULL arguments
    but let's not knowingly leave landmines around.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

All patches are based on current mainline. No build failures or warnings
were observed. All old and new tests in fstests, selftests, and LTP pass
without regressions.

The following changes since commit 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc:

  arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault() (2023-07-03 19:04:32 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/v6.5/vfs.fixes.2

for you to fetch changes up to 33ab231f83cc12d0157711bbf84e180c3be7d7bc:

  fs: don't assume arguments are non-NULL (2023-07-04 10:21:11 +0200)

Please consider pulling these changes from the signed v6.5/vfs.fixes.2 tag.

Thanks!
Christian

----------------------------------------------------------------
v6.5/vfs.fixes.2

----------------------------------------------------------------
Christian Brauner (1):
      fs: don't assume arguments are non-NULL

Jan Kara (1):
      fs: no need to check source

 fs/inode.c | 6 ++++--
 fs/namei.c | 3 +--
 2 files changed, 5 insertions(+), 4 deletions(-)

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

Hey Linus,

/* Summary */
This contains a fix for the backing file work from this cycle. When
init_file() failed it would call file_free_rcu() on the file allocated
by the caller of init_file(). It naively assumed that the correct
cleanup operation would be called depending on whether it is a regular
file or a backing file. However, that presupposes that the FMODE_BACKING
flag would already be set which it won't be as that is done in the
caller of init_file().

Fix that bug by moving the cleanup of the allocated file into the caller
where it belongs in the first place. There's no good reason for
init_file() to consume resources it didn't allocate. This is a mainline
only fix and was reported by syzbot. The fix was validated by syzbot
against the provided reproducer.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

All patches are based on current mainline. No build failures or warnings
were observed. All old and new tests in fstests, selftests, and LTP pass
without regressions.

The following changes since commit 995b406c7e972fab181a4bb57f3b95e59b8e5bf3:

  Merge tag 'csky-for-linus-6.5' of https://github.com/c-sky/csky-linux (2023-07-01 21:12:32 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/v6.5/vfs.fixes

for you to fetch changes up to dff745c1221a402b4921d54f292288373cff500c:

  fs: move cleanup from init_file() into its callers (2023-07-02 13:15:49 +0200)

Please consider pulling these changes from the signed v6.5/vfs.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
v6.5/vfs.fixes

----------------------------------------------------------------
Amir Goldstein (1):
      fs: move cleanup from init_file() into its callers

 fs/file_table.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2023-05-25 12:22 Christian Brauner
  2023-05-25 18:18 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2023-05-25 12:22 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
This contains a small set of fixes:

* During the acl rework we merged this cycle the generic_listxattr()
  helper had to be modified in a way that in principle it would allow
  for POSIX ACLs to be reported. At least that was the impression we had
  initially. Because before the acl rework POSIX ACLs would be reported
  if the filesystem did have POSIX ACL xattr handlers in sb->s_xattr.
  That logic changed and now we can simply check whether the superblock
  has SB_POSIXACL set and if the inode has inode->i_{default_}acl set
  report the appropriate POSIX ACL name.

  However, we didn't realize that generic_listxattr() was only ever used
  by two filesystems. Both of them don't support POSIX ACLs via
  sb->s_xattr handlers and so never reported POSIX ACLs via
  generic_listxattr() even if they raised SB_POSIXACL and did contain
  inodes which had acls set. The example here is nfs4. So
  generic_listxattr() suddenly started reporting POSIX ACLs when it
  wouldn't have before.
  Since SB_POSIXACL implies that the umask isn't stripped in the VFS
  nfs4 can't just drop SB_POSIXACL from the superblock as it would also
  alter umask handling for them. So just have generic_listxattr() not
  report POSIX ACLs as it never did anyway. It's documented as such.

* Our SB_* flags currently use a signed integer and we shift the last
  bit causing UBSAN to complain about undefined behavior. Switch to
  using unsigned. While the original patch used an explicit unsigned
  bitshift it's now pretty common to rely on the BIT() macro in a lot of
  headers nowadays. So the patch has been adjusted to use that.

* Add Namjae as ntfs reviewer. They're already active this cycle so
  let's make it explicit right now.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on 6.4-rc2 and have been sitting in linux-next.
No build failures or warnings were observed. All old and new tests in
fstests, selftests, and LTP pass without regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

  Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 48524463f807ec516a291bdf717dcf2c8e059f51:

  ntfs: Add myself as a reviewer (2023-05-17 15:25:21 +0200)

Please consider pulling these changes from the signed vfs/v6.4-rc2/misc.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs/v6.4-rc2/misc.fixes

----------------------------------------------------------------
Hao Ge (1):
      fs: fix undefined behavior in bit shift for SB_NOUSER

Jeff Layton (1):
      fs: don't call posix_acl_listxattr in generic_listxattr

Namjae Jeon (1):
      ntfs: Add myself as a reviewer

 MAINTAINERS        |  1 +
 fs/xattr.c         | 15 +++++++++------
 include/linux/fs.h | 42 +++++++++++++++++++++---------------------
 3 files changed, 31 insertions(+), 27 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [GIT PULL] vfs fixes
@ 2023-05-12 15:31 Christian Brauner
  2023-05-12 22:14 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Christian Brauner @ 2023-05-12 15:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel

Hey Linus,

/* Summary */
During the pipe nonblock rework that made it in the check for both
O_NONBLOCK and IOCB_NOWAIT was dropped. Both checks need to be performed
to ensure that files without O_NONBLOCK but IOCB_NOWAIT don't block when
writing to or reading from a pipe.

This just contains the fix adding the check for IOCB_NOWAIT back in.

---

On a personal note, I'm still traveling because of LSFMMBPF (I'm
probably missing 5 letters and rearranging 3) and LSS
and will only be back on a regular schedule starting Tuesday.

/* Testing */
clang: Ubuntu clang version 15.0.6
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on 6.4-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. All old and new tests in
fstests, selftests, and LTP pass without regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs/v6.4-rc1/pipe

for you to fetch changes up to c04fe8e32f907ea668f3f802387c1148fdb0e6c9:

  pipe: check for IOCB_NOWAIT alongside O_NONBLOCK (2023-05-12 17:17:27 +0200)

Please consider pulling these changes from the signed vfs/v6.4-rc1/pipe tag.

Thanks!
Christian

----------------------------------------------------------------
vfs/v6.4-rc1/pipe

----------------------------------------------------------------
Jens Axboe (1):
      pipe: check for IOCB_NOWAIT alongside O_NONBLOCK

 fs/pipe.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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

Hey Linus,

/* Summary */
When a mount or mount tree is made shared the vfs allocates new peer
group ids for all mounts that have no peer group id set. Only mounts
that aren't marked with MNT_SHARED are relevant here as MNT_SHARED
indicates that the mount has fully transitioned to a shared mount. The
peer group id handling is done with namespace lock held.

On failure, the peer group id settings of mounts for which a new peer
group id was allocated need to be reverted and the allocated peer group
id freed. The cleanup_group_ids() helper can identify the mounts to
cleanup by checking whether a given mount has a peer group id set but
isn't marked MNT_SHARED. The deallocation always needs to happen with
namespace lock held to protect against concurrent modifications of the
propagation settings.

This pull request contains a fix for the one place where the namespace
lock was dropped before calling cleanup_group_ids().

/* Testing */
clang: Ubuntu clang version 15.0.6
gcc: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.3-rc4 and have been sitting in linux-next.
No build failures or warnings were observed. All old and new tests in
fstests, selftests, and LTP pass without regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:

  Linux 6.3-rc4 (2023-03-26 14:40:20 -0700)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git tags/vfs.misc.fixes.v6.3-rc6

for you to fetch changes up to cb2239c198ad9fbd5aced22cf93e45562da781eb:

  fs: drop peer group ids under namespace lock (2023-03-31 12:13:37 +0200)

Please consider pulling these changes from the signed vfs.misc.fixes.v6.3-rc6 tag.

Thanks!
Christian

----------------------------------------------------------------
vfs.misc.fixes.v6.3-rc6

----------------------------------------------------------------
Christian Brauner (1):
      fs: drop peer group ids under namespace lock

 fs/namespace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Hey Linus,

/* Summary */
This contains a few simple vfs fixes for v6.3. There should be nothing
exciting in here:

* When allocating pages for a watch queue failed, we didn't return an
  error causing userspace to proceed even though all subsequent
  notifcations would be lost. Make sure to return an error.
* Fix a misformed tree entry for the idmapping maintainers entry.
* When setting file leases from an idmapped mount via generic_setlease()
  we need to take the idmapping into account otherwise taking a lease
  would fail from an idmapped mount.
* Remove two redundant assignments, one in splice code and the other in
  locks code, that static checkers complained about.

The watch queue and file lease fix should be backported.

/* Testing */
clang: Ubuntu clang version 15.0.2-1
gcc: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.3-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. All old and new tests in
fstests, selftests, and LTP pass without regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

  Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git tags/vfs.misc.v6.3-rc2

for you to fetch changes up to 42d0c4bdf753063b6eec55415003184d3ca24f6e:

  filelocks: use mount idmapping for setlease permission check (2023-03-09 22:36:12 +0100)

Please consider pulling these changes from the signed vfs.misc.v6.3-rc2 tag.

Thanks!
Christian

----------------------------------------------------------------
vfs.misc.v6.3-rc2

----------------------------------------------------------------
David Disseldorp (1):
      watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths

Jiapeng Chong (2):
      splice: Remove redundant assignment to ret
      fs/locks: Remove redundant assignment to cmd

Lukas Bulwahn (1):
      MAINTAINERS: repair a malformed T: entry in IDMAPPED MOUNTS

Seth Forshee (1):
      filelocks: use mount idmapping for setlease permission check

 MAINTAINERS          | 4 ++--
 fs/locks.c           | 4 ++--
 fs/splice.c          | 1 -
 kernel/watch_queue.c | 1 +
 4 files changed, 5 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2020-09-22 21:29 Al Viro
  2020-09-22 22:15 ` pr-tracker-bot
  0 siblings, 1 reply; 188+ messages in thread
From: Al Viro @ 2020-09-22 21:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel, linux-kernel

	No common topic, just several assorted fixes.

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

  Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

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 933a3752babcf6513117d5773d2b70782d6ad149:

  fuse: fix the ->direct_IO() treatment of iov_iter (2020-09-17 17:26:56 -0400)

----------------------------------------------------------------
Al Viro (1):
      fuse: fix the ->direct_IO() treatment of iov_iter

Alexey Dobriyan (1):
      fs: fix cast in fsparam_u32hex() macro

Hans de Goede (1):
      vboxsf: Fix the check for the old binary mount-arguments struct

 fs/fuse/file.c            | 25 ++++++++++++-------------
 fs/vboxsf/super.c         |  2 +-
 include/linux/fs_parser.h |  2 +-
 3 files changed, 14 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2018-07-01 12:31 Al Viro
  2018-07-01 19:36 ` Linus Torvalds
  0 siblings, 1 reply; 188+ messages in thread
From: Al Viro @ 2018-07-01 12:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel

	Followup to procfs-seq_file series this window

The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

  Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

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 877f919e192a09e77962a13d7165783027dee5fd:

  proc: add proc_seq_release (2018-06-27 20:44:38 -0400)

----------------------------------------------------------------
Chunyu Hu (1):
      proc: add proc_seq_release

 fs/proc/generic.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2018-04-20 15:58 Al Viro
  2018-04-20 18:29 ` Andrew Morton
  0 siblings, 1 reply; 188+ messages in thread
From: Al Viro @ 2018-04-20 15:58 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	Assorted fixes.  Some of that is only a matter with fault injection
(broken handling of small allocation failure in various mount-related places),
but the last one is a root-triggerable stack overflow, and combined with
userns it gets really nasty ;-/

The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338:

  Linux 4.17-rc1 (2018-04-15 18:24:20 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 16a34adb9392b2fe4195267475ab5b472e55292c:

  Don't leak MNT_INTERNAL away from internal mounts (2018-04-19 23:52:15 -0400)

----------------------------------------------------------------
Al Viro (5):
      hypfs_kill_super(): deal with failed allocations
      jffs2_kill_sb(): deal with failed allocations
      orangefs_kill_sb(): deal with allocation failures
      rpc_pipefs: fix double-dput()
      Don't leak MNT_INTERNAL away from internal mounts

Tetsuo Handa (1):
      mm,vmscan: Allow preallocating memory for register_shrinker().

 arch/s390/hypfs/inode.c  |  2 +-
 fs/jffs2/super.c         |  2 +-
 fs/namespace.c           |  3 ++-
 fs/orangefs/super.c      |  5 +++++
 fs/super.c               |  9 ++++-----
 include/linux/shrinker.h |  7 +++++--
 mm/vmscan.c              | 21 ++++++++++++++++++++-
 net/sunrpc/rpc_pipe.c    |  1 +
 8 files changed, 39 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2017-06-17  2:56 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2017-06-17  2:56 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	A couple of fixes; a leak in mntns_install() caught by Andrei
(this cycle regression) + d_invalidate() softlockup fix - that had
been reported by a bunch of people lately, but the problem is pretty
old.

The following changes since commit 32c1431eea4881a6b17bd7c639315010aeefa452:

  Linux 4.12-rc5 (2017-06-11 16:48:20 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 4068367c9ca7b515a209f9c0c8741309a1e90495:

  fs: don't forget to put old mntns in mntns_install (2017-06-15 06:53:05 -0400)

----------------------------------------------------------------
Al Viro (1):
      Hang/soft lockup in d_invalidate with simultaneous calls

Andrei Vagin (1):
      fs: don't forget to put old mntns in mntns_install

 fs/dcache.c    | 10 ++++------
 fs/namespace.c |  2 ++
 2 files changed, 6 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2017-04-09  5:40 Al Viro
  2017-04-11  6:10 ` Linus Torvalds
  2017-04-15  6:41 ` Vegard Nossum
  0 siblings, 2 replies; 188+ messages in thread
From: Al Viro @ 2017-04-09  5:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel


The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf:

  Linux 4.11-rc5 (2017-04-02 17:23:54 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to a8e28440016bfb23bec266c4c66eacca6ea2d48b:

  Merge branch 'work.statx' into for-next (2017-04-03 01:06:59 -0400)

----------------------------------------------------------------
Al Viro (2):
      alpha: fix stack smashing in old_adjtimex(2)
      Merge branch 'work.statx' into for-next

Darrick J. Wong (1):
      xfs: report crtime and attribute flags to statx

David Howells (3):
      ext4: Add statx support
      statx: Reserve the top bit of the mask for future struct expansion
      statx: Include a mask for stx_attributes in struct statx

Eric Biggers (4):
      Documentation/filesystems: fix documentation for ->getattr()
      statx: reject unknown flags when using NULL path
      statx: remove incorrect part of vfs_statx() comment
      statx: optimize copy of struct statx to userspace

 Documentation/filesystems/Locking |  3 +-
 Documentation/filesystems/porting |  6 +++
 Documentation/filesystems/vfs.txt |  3 +-
 arch/alpha/kernel/osf_sys.c       |  2 +-
 fs/ext4/ext4.h                    |  1 +
 fs/ext4/file.c                    |  2 +-
 fs/ext4/inode.c                   | 41 +++++++++++++++++--
 fs/ext4/namei.c                   |  2 +
 fs/ext4/symlink.c                 |  3 ++
 fs/stat.c                         | 86 ++++++++++++++++++---------------------
 fs/xfs/xfs_iops.c                 | 14 +++++++
 include/linux/stat.h              |  1 +
 include/uapi/linux/stat.h         |  5 ++-
 samples/statx/test-statx.c        | 12 ++++--
 14 files changed, 120 insertions(+), 61 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2017-04-02 17:01 Al Viro
  2017-04-02 23:59 ` Linus Torvalds
  0 siblings, 1 reply; 188+ messages in thread
From: Al Viro @ 2017-04-02 17:01 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	statx followup fixes, fix for a nasty corner case in path_init()
leaving path.dentry in RCU mode pointing to a dentry without DCACHE_RCUACCESS
and a fix for stack-smashing on alpha.

The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8:

  Linux 4.11-rc4 (2017-03-26 14:15:16 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 0b1367305acc8e8706e13aa4c6766a747cf489d4:

  statx: Include a mask for stx_attributes in struct statx (2017-04-02 12:27:59 -0400)

----------------------------------------------------------------
Al Viro (2):
      path_init(): make sure that nd->path.dentry freeing will be RCU-delayed
      alpha: fix stack smashing in old_adjtimex(2)

Darrick J. Wong (1):
      xfs: report crtime and attribute flags to statx

David Howells (3):
      ext4: Add statx support
      statx: Reserve the top bit of the mask for future struct expansion
      statx: Include a mask for stx_attributes in struct statx

Eric Biggers (4):
      Documentation/filesystems: fix documentation for ->getattr()
      statx: reject unknown flags when using NULL path
      statx: remove incorrect part of vfs_statx() comment
      statx: optimize copy of struct statx to userspace

 Documentation/filesystems/Locking |  3 +-
 Documentation/filesystems/porting |  6 +++
 Documentation/filesystems/vfs.txt |  3 +-
 arch/alpha/kernel/osf_sys.c       |  2 +-
 fs/ext4/ext4.h                    |  1 +
 fs/ext4/file.c                    |  2 +-
 fs/ext4/inode.c                   | 41 +++++++++++++++++--
 fs/ext4/namei.c                   |  2 +
 fs/ext4/symlink.c                 |  3 ++
 fs/namei.c                        | 11 +++--
 fs/stat.c                         | 86 ++++++++++++++++++---------------------
 fs/xfs/xfs_iops.c                 | 14 +++++++
 include/linux/stat.h              |  1 +
 include/uapi/linux/stat.h         |  5 ++-
 samples/statx/test-statx.c        | 12 ++++--
 15 files changed, 128 insertions(+), 64 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* Q. hlist_bl_add_head_rcu() in d_alloc_parallel()
@ 2016-06-17 20:50 J. R. Okajima
  2016-06-17 22:16 ` Al Viro
  0 siblings, 1 reply; 188+ messages in thread
From: J. R. Okajima @ 2016-06-17 20:50 UTC (permalink / raw)
  To: viro, linux-fsdevel


I am afraid there may exist another violation of "no lookups on the same
name in parallel" rule, but I am not sure.

Roughly d_alloc_parallel() behaves like this.

struct dentry *d_alloc_parallel()
{
	new = d_alloc(parent, name);

	rcu_read_lock();
	hlist_bl_lock(b);
	rcu_read_unlock();
	hlist_bl_for_each_entry(dentry, node, b, d_u.d_in_lookup_hash) {
		if (!matched_dentry_found)
			continue;
		dget(dentry);
		hlist_bl_unlock(b);
		return dentry;
	}
	hlist_bl_add_head_rcu(&new->d_u.d_in_lookup_hash, b);
	hlist_bl_unlock(b);
	return new;
}

When two processes try opening a single existing file and enters
d_alloc_parallel() at the same time, only one process wins and should
succeeds hlist_bl_add_head_rcu(). The other process should find the
dentry in d_u.d_in_lookup_hash and return 'dentry' (instead of
'new'). Am I right?

My question is when will 'new' be added into d_u.d_in_lookup_hash?
It should be between these two lines, I guess.
	rcu_read_unlock();
	hlist_bl_for_each_entry(dentry, node, b, d_u.d_in_lookup_hash) {
But can it surely happen?
If 'new' is not added here because someone else is in rcu_read_lock
region or other reason, then both processes will add the same named but
different dentry?

Is it better to change the lock/unlock-order like this?

	rcu_read_unlock();
	rcu_barrier();
	hlist_bl_lock(b);
	hlist_bl_for_each_entry(dentry, node, b, d_u.d_in_lookup_hash) {


J. R. Okajima

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2016-06-08  2:12 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2016-06-08  2:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	Fixes for crap of assorted ages: EOPENSTALE one is 4.2+, autofs
one is 4.6, d_walk - 3.2+, atomic_open() and coredump ones are this window
regressions.

The following changes since commit 1a695a905c18548062509178b98bc91e67510864:

  Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 1607f09c226d1378439c411baaaa020042750338:

  coredump: fix dumping through pipes (2016-06-07 22:07:09 -0400)

----------------------------------------------------------------
Al Viro (4):
      fix EOPENSTALE bug in do_last()
      autofs braino fix for do_last()
      fix d_walk()/non-delayed __d_free() race
      fix a regression in atomic_open()

Mateusz Guzik (1):
      coredump: fix dumping through pipes

 arch/powerpc/platforms/cell/spufs/coredump.c |  2 +-
 fs/binfmt_elf.c                              |  2 +-
 fs/binfmt_elf_fdpic.c                        |  2 +-
 fs/coredump.c                                |  4 +-
 fs/dcache.c                                  |  4 +-
 fs/namei.c                                   | 61 +++++++---------------------
 include/linux/binfmts.h                      |  1 +
 7 files changed, 24 insertions(+), 52 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2016-05-28  0:10 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2016-05-28  0:10 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	work.lookups followups - update docs, restore killability of
the places that used to take ->i_mutex killably now that we have
down_write_killable() merged.  Additionally, it turns out that I missed
a prereq for security_d_instantiate() stuff - ->getxattr() wasn't the
only thing that could be called before dentry is attached to inode; with
smack we needed the same treatment applied to ->setxattr() as well.

The following changes since commit 0985b65d3ba2c09f10a594b73df45c1f7f68d317:

  Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2016-05-25 15:59:09 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 3767e255b390d72f9a33c08d9e86c5f21f25860f:

  switch ->setxattr() to passing dentry and inode separately (2016-05-27 20:09:16 -0400)

----------------------------------------------------------------
Al Viro (5):
      update D/f/directory-locking
      add down_write_killable_nested()
      restore killability of old mutex_lock_killable(&inode->i_mutex) users
      switch xattr_handler->set() to passing dentry and inode separately
      switch ->setxattr() to passing dentry and inode separately

 Documentation/filesystems/directory-locking        | 32 ++++++++++++++--------
 Documentation/filesystems/porting                  |  7 +++++
 .../staging/lustre/lustre/llite/llite_internal.h   |  4 +--
 drivers/staging/lustre/lustre/llite/xattr.c        |  6 ++--
 fs/9p/acl.c                                        |  6 ++--
 fs/9p/xattr.c                                      |  5 ++--
 fs/bad_inode.c                                     |  4 +--
 fs/btrfs/ioctl.c                                   | 18 +++++-------
 fs/btrfs/xattr.c                                   | 12 ++++----
 fs/ceph/xattr.c                                    |  7 +++--
 fs/cifs/xattr.c                                    |  9 +++---
 fs/ecryptfs/crypto.c                               |  9 +++---
 fs/ecryptfs/ecryptfs_kernel.h                      |  4 +--
 fs/ecryptfs/inode.c                                |  7 +++--
 fs/ecryptfs/mmap.c                                 |  3 +-
 fs/ext2/xattr_security.c                           |  7 +++--
 fs/ext2/xattr_trusted.c                            |  7 +++--
 fs/ext2/xattr_user.c                               |  9 +++---
 fs/ext4/xattr_security.c                           |  7 +++--
 fs/ext4/xattr_trusted.c                            |  7 +++--
 fs/ext4/xattr_user.c                               |  9 +++---
 fs/f2fs/xattr.c                                    | 12 ++++----
 fs/fuse/dir.c                                      |  6 ++--
 fs/gfs2/xattr.c                                    |  6 ++--
 fs/hfs/attr.c                                      |  6 ++--
 fs/hfs/hfs_fs.h                                    |  2 +-
 fs/hfsplus/xattr.c                                 | 12 ++++----
 fs/hfsplus/xattr.h                                 |  2 +-
 fs/hfsplus/xattr_security.c                        |  7 +++--
 fs/hfsplus/xattr_trusted.c                         |  7 +++--
 fs/hfsplus/xattr_user.c                            |  7 +++--
 fs/jffs2/security.c                                |  7 +++--
 fs/jffs2/xattr_trusted.c                           |  7 +++--
 fs/jffs2/xattr_user.c                              |  7 +++--
 fs/jfs/xattr.c                                     | 14 ++++------
 fs/kernfs/inode.c                                  | 11 ++++----
 fs/kernfs/kernfs-internal.h                        |  3 +-
 fs/libfs.c                                         |  5 ++--
 fs/nfs/nfs4proc.c                                  | 19 ++++++-------
 fs/ocfs2/xattr.c                                   | 23 +++++++++-------
 fs/orangefs/xattr.c                                | 10 ++++---
 fs/overlayfs/inode.c                               |  5 ++--
 fs/overlayfs/overlayfs.h                           |  5 ++--
 fs/overlayfs/readdir.c                             |  4 +--
 fs/posix_acl.c                                     |  6 ++--
 fs/readdir.c                                       | 12 ++++----
 fs/reiserfs/xattr_security.c                       |  9 +++---
 fs/reiserfs/xattr_trusted.c                        |  9 +++---
 fs/reiserfs/xattr_user.c                           |  9 +++---
 fs/ubifs/xattr.c                                   |  7 ++---
 fs/xattr.c                                         | 10 ++++---
 fs/xfs/xfs_xattr.c                                 |  9 +++---
 include/linux/fs.h                                 |  3 +-
 include/linux/rwsem.h                              |  2 ++
 include/linux/xattr.h                              |  7 +++--
 kernel/locking/rwsem.c                             | 16 +++++++++++
 mm/shmem.c                                         |  7 +++--
 security/smack/smack_lsm.c                         |  2 +-
 58 files changed, 265 insertions(+), 209 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2016-02-28  1:09 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2016-02-28  1:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

The following changes since commit 7ae8fd0351f912b075149a1e03a017be8b903b9a:

  fs/pnode.c: treat zero mnt_group_id-s as unequal (2016-02-20 00:15:52 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to 5129fa482b16615fd4464d2f5d23acb1b7056c66:

  do_last(): ELOOP failure exit should be done after leaving RCU mode (2016-02-27 19:37:37 -0500)

----------------------------------------------------------------
Al Viro (4):
      do_last(): don't let a bogus return value from ->open() et.al. to confuse us
      namei: ->d_inode of a pinned dentry is stable only for positives
      should_follow_link(): validate ->d_seq after having decided to follow
      do_last(): ELOOP failure exit should be done after leaving RCU mode

Christoph Hellwig (1):
      fs: return -EOPNOTSUPP if clone is not supported

Mikulas Patocka (1):
      hpfs: don't truncate the file when delete fails

 fs/hpfs/namei.c | 31 +++----------------------------
 fs/namei.c      | 22 +++++++++++++++-------
 fs/read_write.c |  6 ++++--
 3 files changed, 22 insertions(+), 37 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2014-09-14 19:47 Al Viro
  2014-09-26 20:38 ` Joachim Eastwood
  2014-09-26 20:46 ` Joachim Eastwood
  0 siblings, 2 replies; 188+ messages in thread
From: Al Viro @ 2014-09-14 19:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

double iput() on failure exit in lustre, racy removal of spliced dentries
from ->s_anon in __d_materialise_dentry() plus a bunch of assorted RCU pathwalk
fixes.  Please, pull from the usual place -
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Al Viro (5):
      [fix] lustre: d_make_root() does iput() on dentry allocation failure
      move the call of __d_drop(anon) into __d_materialise_unique(dentry, anon)
      fix bogus read_seqretry() checks introduced in b37199e
      don't bugger nd->seq on set_root_rcu() from follow_dotdot_rcu()
      be careful with nd->inode in path_init() and follow_dotdot_rcu()

Diffstat:
 drivers/staging/lustre/lustre/llite/llite_lib.c |    2 +-
 fs/dcache.c                                     |    8 +++-
 fs/namei.c                                      |   52 ++++++++++++++---------
 3 files changed, 39 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* Re: [git pull] vfs fixes
@ 2014-03-24 22:58 Imre Deak
  2014-03-25  7:21 ` Sedat Dilek
  0 siblings, 1 reply; 188+ messages in thread
From: Imre Deak @ 2014-03-24 22:58 UTC (permalink / raw)
  To: Al Viro; +Cc: Linus Torvalds, linux-kernel, linux-fsdevel

> [...]
> Shortlog:
> Al Viro (6):
>       make prepend_name() work correctly when called with negative
*buflen

A proper attribution for the above fix would have been nice. Tracking
down the bug was the main thing after all:

https://lkml.org/lkml/2014/3/12/620

--Imre

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2014-03-23  7:16 Al Viro
  2014-03-23 10:57 ` Sedat Dilek
  2014-03-23 16:36 ` Linus Torvalds
  0 siblings, 2 replies; 188+ messages in thread
From: Al Viro @ 2014-03-23  7:16 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	Several fixes; first 4 commits are obvious fixes (a couple
of fdget_pos()-related ones from Eric Biggers, prepend_name() fix, missing
checks for false negatives from __lookup_mnt() in fs/namei.c), followed
by 4 commits dealing with the bug found by Max last week - switch of
mnt_hash to hlist, to avoid the fun with non-terminating __lookup_mnt().
I'm fairly comfortable with that pile, but whether its second part is OK
at this point is up to you; it seems to survive everything I'd thrown
at it, and it's quite straightforward.  If you really feel that it's
too close to -final, well... alternative variant is to replace the last
4 with "if we are spinning too much in __lookup_mnt(), check mount_lock"
kludge like the one I've posted early in the "don't clobber mnt_hash.next"
thread.  I'd rather go for "let's just use hlist", obviously...

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Al Viro (6):
      make prepend_name() work correctly when called with negative *buflen
      rcuwalk: recheck mount_lock after mountpoint crossing attempts
      resizable namespace.c hashes
      keep shadowed vfsmounts together
      don't bother with propagate_mnt() unless the target is shared
      switch mnt_hash to hlist

Eric Biggers (2):
      vfs: atomic f_pos access in llseek()
      vfs: Don't let __fdget_pos() get FMODE_PATH files

Diffstat:
 fs/dcache.c     |    4 +-
 fs/file.c       |   19 ++----
 fs/mount.h      |    4 +-
 fs/namei.c      |   29 ++++-----
 fs/namespace.c  |  177 ++++++++++++++++++++++++++++++++++++-------------------
 fs/pnode.c      |   26 ++++----
 fs/pnode.h      |    4 +-
 fs/read_write.c |    4 +-
 8 files changed, 155 insertions(+), 112 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2013-06-22  7:16 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2013-06-22  7:16 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

Several fixes for bugs caught while looking through f_pos (ab)users.
Please, pull from the usual place -
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Al Viro (3):
      mconsole: we'd better initialize pos before passing it to vfs_read()...
      splice: don't pass the address of ->f_pos to methods
      aout32 coredump compat fix

Diffstat:
 arch/um/drivers/mconsole_kern.c |    2 +-
 arch/x86/ia32/ia32_aout.c       |    2 +-
 fs/internal.h                   |    6 ++++++
 fs/read_write.c                 |   24 ++++++++++++++++--------
 fs/splice.c                     |   31 ++++++++++++++++++-------------
 include/linux/fs.h              |    2 --
 include/linux/splice.h          |    1 +
 7 files changed, 43 insertions(+), 25 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2013-03-27  0:36 Al Viro
  0 siblings, 0 replies; 188+ messages in thread
From: Al Viro @ 2013-03-27  0:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

-stable fodder; assorted deadlock fixes.  Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Al Viro (3):
      Don't bother with redoing rw_verify_area() from default_file_splice_from()
      Nest rename_lock inside vfsmount_lock
      vt: synchronize_rcu() under spinlock is not nice...

Diffstat:
 drivers/tty/vt/vc_screen.c |    6 ++++--
 fs/dcache.c                |   16 +++++++++++-----
 fs/internal.h              |    5 +++++
 fs/read_write.c            |   25 +++++++++++++++++++++++++
 fs/splice.c                |    4 +++-
 5 files changed, 48 insertions(+), 8 deletions(-)


^ permalink raw reply	[flat|nested] 188+ messages in thread
* [git pull] vfs fixes
@ 2012-03-10 21:30 Al Viro
  2012-03-10 21:49 ` Linus Torvalds
  0 siblings, 1 reply; 188+ messages in thread
From: Al Viro @ 2012-03-10 21:30 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	A bunch of assorted fixes; Jan's freezing stuff still _not_
in there and neither is mm fun ;-/  Please, pull from usual place -
git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus
Shortlog:
Jan Kara (2):
      udf: Fix deadlock in udf_release_file()
      vfs: Fix missed wakeup in I_NEW handling

Miklos Szeredi (2):
      vfs: fix double put after complete_walk()
      vfs: fix return value from do_last()

Tyler Hicks (1):
      vfs: Correctly set the dir i_mutex lockdep class

Diffstat:
 fs/inode.c                |   25 +++++++++++++++++++++++--
 fs/namei.c                |    4 ++--
 fs/udf/file.c             |    2 --
 include/linux/writeback.h |    5 -----
 4 files changed, 25 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 188+ messages in thread

end of thread, other threads:[~2025-08-19 17:33 UTC | newest]

Thread overview: 188+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHk-=wgdsv1UA+QtgiJM8KQAG7N7_9iK_edchnzZYyj+nxmfLA@mail.gmail.com>
     [not found] ` <20200113195448.GT8904@ZenIV.linux.org.uk>
     [not found]   ` <CAHk-=whn5qk-e-KnYr6HNe5hp45v+XyDbsA2+szXvK3gC06A2w@mail.gmail.com>
2020-01-15  6:41     ` [git pull] vfs fixes Al Viro
2020-01-15 19:35       ` pr-tracker-bot
2025-08-19 12:46 [GIT PULL] " Christian Brauner
2025-08-19 17:33 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2025-07-25  8:54 Christian Brauner
2025-07-25 15:39 ` pr-tracker-bot
2025-07-19 10:59 Christian Brauner
2025-07-19 18:29 ` pr-tracker-bot
2025-07-04  8:36 Christian Brauner
2025-07-04 17:36 ` pr-tracker-bot
2025-06-16  8:20 Christian Brauner
2025-06-16 16:12 ` pr-tracker-bot
2025-06-02  9:02 Christian Brauner
2025-06-02 22:58 ` pr-tracker-bot
2025-05-23 10:26 Christian Brauner
2025-05-23 14:56 ` pr-tracker-bot
2025-05-12 11:01 Christian Brauner
2025-05-13  3:33 ` pr-tracker-bot
2025-04-25 21:22 Christian Brauner
2025-04-25 23:35 ` pr-tracker-bot
2025-04-19 21:04 Christian Brauner
2025-04-19 21:38 ` pr-tracker-bot
2025-04-14 10:44 Christian Brauner
2025-04-14 17:41 ` pr-tracker-bot
2025-04-02 15:46 Christian Brauner
2025-04-03  0:11 ` pr-tracker-bot
2025-03-20 15:22 Christian Brauner
2025-03-20 21:21 ` pr-tracker-bot
2025-03-13  9:13 Christian Brauner
2025-03-13 19:04 ` pr-tracker-bot
2025-03-06 10:13 Christian Brauner
2025-03-06 18:20 ` pr-tracker-bot
2025-02-25 11:51 Christian Brauner
2025-02-25 17:52 ` pr-tracker-bot
2025-02-17 10:37 Christian Brauner
2025-02-17 18:44 ` pr-tracker-bot
2025-02-07 10:52 Christian Brauner
2025-02-07 22:25 ` pr-tracker-bot
2025-01-10 15:16 Christian Brauner
2025-01-10 18:12 ` pr-tracker-bot
2025-01-06 15:32 Christian Brauner
2025-01-06 18:40 ` pr-tracker-bot
2024-11-27 15:41 Christian Brauner
2024-11-27 16:14 ` Linus Torvalds
2024-11-27 16:15 ` pr-tracker-bot
2024-11-01 12:43 Christian Brauner
2024-11-01 17:48 ` pr-tracker-bot
2024-10-21 11:46 Christian Brauner
2024-10-21 18:27 ` pr-tracker-bot
2024-10-03  9:00 Christian Brauner
2024-10-03 16:53 ` pr-tracker-bot
2024-09-30 13:46 Christian Brauner
2024-09-30 20:21 ` pr-tracker-bot
2024-09-04 12:03 Christian Brauner
2024-09-04 16:46 ` pr-tracker-bot
2024-08-26 15:25 Christian Brauner
2024-08-27  5:04 ` pr-tracker-bot
2024-08-14 13:29 Christian Brauner
2024-08-14 16:28 ` pr-tracker-bot
2024-07-27  9:05 Christian Brauner
2024-07-27 22:37 ` pr-tracker-bot
2024-07-24  9:19 Christian Brauner
2024-07-24 17:19 ` pr-tracker-bot
2024-07-18  9:01 Christian Brauner
2024-07-19  1:04 ` pr-tracker-bot
2024-07-11  5:09 Christian Brauner
2024-07-11 19:24 ` pr-tracker-bot
2024-07-02 19:44 Christian Brauner
2024-07-02 20:56 ` pr-tracker-bot
2024-07-01 11:53 Christian Brauner
2024-07-01 16:49 ` pr-tracker-bot
2024-06-10 14:09 Christian Brauner
2024-06-11 19:15 ` Linus Torvalds
2024-06-12 11:30   ` Christian Brauner
2024-06-11 23:42 ` pr-tracker-bot
2024-05-27 11:55 Christian Brauner
2024-05-27 15:30 ` pr-tracker-bot
2024-04-26 14:59 Christian Brauner
2024-04-26 18:09 ` pr-tracker-bot
2024-04-05 11:22 Christian Brauner
2024-04-05 17:09 ` pr-tracker-bot
2024-03-18 12:19 Christian Brauner
2024-03-18 16:48 ` pr-tracker-bot
2024-03-18 19:14 ` Linus Torvalds
2024-03-18 19:41   ` Linus Torvalds
2024-03-19  6:58     ` Christian Brauner
2024-03-20 10:21       ` Christian Brauner
2024-03-06 15:45 Christian Brauner
2024-03-06 16:33 ` pr-tracker-bot
2024-03-01 12:45 Christian Brauner
2024-03-01 20:37 ` pr-tracker-bot
2024-02-22 14:03 Christian Brauner
2024-02-22 18:18 ` pr-tracker-bot
2024-02-12 13:00 Christian Brauner
2024-02-12 17:03 ` pr-tracker-bot
2024-01-13 12:31 Christian Brauner
2024-01-17 20:03 ` pr-tracker-bot
2023-11-24 10:27 Christian Brauner
2023-11-24 18:25 ` Linus Torvalds
2023-11-24 18:52   ` Linus Torvalds
2023-11-24 20:12     ` Linus Torvalds
2023-11-25 13:05       ` Christian Brauner
2023-11-25 13:10   ` Christian Brauner
2023-11-25 13:28     ` Omar Sandoval
2023-11-25 14:04       ` Christian Brauner
2023-11-24 18:26 ` pr-tracker-bot
2023-10-19 10:07 Christian Brauner
2023-10-19 16:37 ` Linus Torvalds
2023-10-20 11:14   ` Christian Brauner
2023-10-19 18:36 ` pr-tracker-bot
2023-09-26 10:39 Christian Brauner
2023-09-26 16:14 ` pr-tracker-bot
2023-07-06 11:52 Christian Brauner
2023-07-07  2:27 ` pr-tracker-bot
2023-07-02 11:28 Christian Brauner
2023-07-02 18:53 ` pr-tracker-bot
2023-05-25 12:22 Christian Brauner
2023-05-25 18:18 ` pr-tracker-bot
2023-05-12 15:31 Christian Brauner
2023-05-12 22:14 ` pr-tracker-bot
2023-04-03 11:04 Christian Brauner
2023-04-03 16:51 ` pr-tracker-bot
2023-03-12 12:18 Christian Brauner
2023-03-12 16:20 ` pr-tracker-bot
2020-09-22 21:29 [git pull] " Al Viro
2020-09-22 22:15 ` pr-tracker-bot
2018-07-01 12:31 Al Viro
2018-07-01 19:36 ` Linus Torvalds
2018-07-01 20:05   ` Al Viro
2018-07-01 20:25     ` Linus Torvalds
2018-04-20 15:58 Al Viro
2018-04-20 18:29 ` Andrew Morton
2018-04-20 19:09   ` Al Viro
2018-04-20 19:57     ` Andrew Morton
2017-06-17  2:56 Al Viro
2017-04-09  5:40 Al Viro
2017-04-11  6:10 ` Linus Torvalds
2017-04-11  6:48   ` Al Viro
2017-04-11 21:02     ` Andreas Dilger
2017-04-12  7:00       ` Linus Torvalds
2017-04-15  6:41 ` Vegard Nossum
2017-04-15 16:51   ` Linus Torvalds
2017-04-15 17:08     ` Al Viro
2017-04-02 17:01 Al Viro
2017-04-02 23:59 ` Linus Torvalds
2017-04-03  0:10   ` Linus Torvalds
2017-04-03  0:30     ` Al Viro
2017-04-03  0:43       ` Al Viro
2017-04-03  0:58         ` Linus Torvalds
2017-04-03  2:21           ` Al Viro
2017-04-03  6:00             ` Eric W. Biederman
2017-04-03  7:46               ` Al Viro
2017-04-04  0:22               ` Ian Kent
2017-04-04  0:47               ` Ian Kent
2017-04-03  0:20   ` Al Viro
2016-06-17 20:50 Q. hlist_bl_add_head_rcu() in d_alloc_parallel() J. R. Okajima
2016-06-17 22:16 ` Al Viro
2016-06-19  5:24   ` J. R. Okajima
2016-06-19 16:55     ` Al Viro
2016-06-20  4:34       ` J. R. Okajima
2016-06-20  5:35         ` Al Viro
2016-06-20 14:51           ` Al Viro
2016-06-20 17:14             ` [git pull] vfs fixes Al Viro
2016-06-08  2:12 Al Viro
2016-05-28  0:10 Al Viro
2016-02-28  1:09 Al Viro
2014-09-14 19:47 Al Viro
2014-09-26 20:38 ` Joachim Eastwood
2014-09-26 20:46 ` Joachim Eastwood
2014-09-26 20:58   ` Al Viro
2014-09-26 21:28     ` Joachim Eastwood
2014-09-26 21:52       ` Joachim Eastwood
2014-03-24 22:58 Imre Deak
2014-03-25  7:21 ` Sedat Dilek
2014-03-23  7:16 Al Viro
2014-03-23 10:57 ` Sedat Dilek
2014-03-23 15:35   ` Al Viro
2014-03-23 16:56     ` Al Viro
2014-03-23 16:36 ` Linus Torvalds
2014-03-23 16:45   ` Al Viro
2014-03-23 17:01     ` Linus Torvalds
2014-03-24  8:52       ` Sedat Dilek
2014-03-25  0:46         ` Linus Torvalds
2014-03-26 16:36           ` Sedat Dilek
2014-03-26 20:55             ` Linus Torvalds
2014-03-27  6:14               ` Sedat Dilek
2014-03-30 20:33               ` Al Viro
2014-03-30 20:55                 ` Al Viro
2014-03-30 22:39                   ` Linus Torvalds
2014-03-30 23:21                     ` Al Viro
2013-06-22  7:16 Al Viro
2013-03-27  0:36 Al Viro
2012-03-10 21:30 Al Viro
2012-03-10 21:49 ` Linus Torvalds
2012-03-10 22:14   ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).