[GIT PULL] vfs: misc updates

From: Christian Brauner
Date: Fri Apr 21 2023 - 09:49:13 EST


Hey Linus,

/* Summary */
This contains a pile of various smaller fixes. Most of them aren't very
interesting so this just highlights things worth mentioning:

* Various filesystems contained the same little helper to convert from
the mode of a dentry to the DT_* type of that dentry. They have now
all been switched to rely on the generic fs_umode_to_dtype() helper.
All custom helpers are removed.
(Jeff)
* Fsnotify now reports ACCESS and MODIFY events for splice.
(Chung-Chiang Cheng)
* After converting timerfd a long time ago to rely on
wait_event_interruptible_*() apis, convert eventfd as well. This
removes the complex open-coded wait code.
(Wen Yang)
* Simplify sysctl registration for devpts, avoiding the declaration of
two tables. Instead, just use a prefixed path with register_sysctl().
(Luis)
* The setattr_should_drop_sgid() helper is now exported so NFS can
use it. By switching NFS to this helper an NFS setgid inheritance bug
is fixed.
(me)

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

All patches are based on 6.3-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 eeac8ede17557680855031c6f305ece2378af326:

Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/v6.4/vfs.misc

for you to fetch changes up to 81b21c0f0138ff5a499eafc3eb0578ad2a99622c:

fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() (2023-04-12 11:29:32 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
v6.4/vfs.misc

----------------------------------------------------------------
Andy Shevchenko (1):
fs/namespace: fnic: Switch to use %ptTd

Changcheng Liu (1):
eventpoll: align comment with nested epoll limitation

Christian Brauner (3):
Documentation: update idmappings.rst
nfs: use vfs setgid helper
pnode: pass mountpoint directly

Chung-Chiang Cheng (1):
splice: report related fsnotify events

Jeff Layton (1):
fs: consolidate duplicate dt_type helpers

Jiapeng Chong (1):
fs/buffer: Remove redundant assignment to err

Luis Chamberlain (1):
devpts: simplify two-level sysctl registration for pty_kern_table

Ondrej Mosnacek (1):
fs_context: drop the unused lsm_flags member

Stephen Kitt (1):
Update relatime comments to include equality

Tetsuo Handa (1):
fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()

Wen Yang (1):
eventfd: use wait_event_interruptible_locked_irq() helper

Documentation/filesystems/idmappings.rst | 178 ++++++++++++++++++++++---------
Documentation/filesystems/mount_api.rst | 1 -
fs/attr.c | 1 +
fs/buffer.c | 9 +-
fs/configfs/dir.c | 9 +-
fs/devpts/inode.c | 20 +---
fs/eventfd.c | 41 ++-----
fs/eventpoll.c | 4 +-
fs/hfsplus/inode.c | 28 ++++-
fs/inode.c | 8 +-
fs/internal.h | 2 -
fs/kernfs/dir.c | 8 +-
fs/libfs.c | 9 +-
fs/namespace.c | 9 +-
fs/nfs/inode.c | 4 +-
fs/nfs/super.c | 3 -
fs/pnode.c | 12 +--
fs/splice.c | 8 ++
include/linux/fs.h | 2 +
include/linux/fs_context.h | 1 -
include/linux/security.h | 2 +-
21 files changed, 191 insertions(+), 168 deletions(-)