Centos-kernel-stream-9/fs/ceph
Ian Kent be97228574 fs: port ->set_acl() to pass mnt_idmap
JIRA: https://issues.redhat.com/browse/RHEL-33888
Status: Linus

Conflicts: For consistency drop btrfs hunks because it isn't supported in
	CentOS Stream and other backports also drop such hunks.
	The cifs source has been moved in CentOS Stream so manually
	apply rejected hunks to fs/smb/client/cifsacl.c and
	fs/smb/client/cifsproto.h.
	Dropped hunks for ntfs3 and ksmbd because the source is not
	present in the CentOS Stream source tree.
	CentOS Stream commit 892da692fa ("shmem: support idmapped
	mounts for tmpfs") is present, which cuases hunk #1 against
	mm/shmem.c to be rejected, manually apply the hunk.
	CentOS Stream commit 48fa94aacd ("ceph: fscrypt_auth handling
	for ceph") is present which causes fuzz 1 of hunk #1 against
	fs/ceph/inode.c.

commit 13e83a4923bea7c4f2f6714030cb7e56d20ef7e5
Author: Christian Brauner <brauner@kernel.org>
Date:   Fri Jan 13 12:49:20 2023 +0100

    fs: port ->set_acl() to pass mnt_idmap

    Convert to struct mnt_idmap.

    Last cycle we merged the necessary infrastructure in
    256c8aed2b42 ("fs: introduce dedicated idmap type for mounts").
    This is just the conversion to struct mnt_idmap.

    Currently we still pass around the plain namespace that was attached to a
    mount. This is in general pretty convenient but it makes it easy to
    conflate namespaces that are relevant on the filesystem with namespaces
    that are relevent on the mount level. Especially for non-vfs developers
    without detailed knowledge in this area this can be a potential source for
    bugs.

    Once the conversion to struct mnt_idmap is done all helpers down to the
    really low-level helpers will take a struct mnt_idmap argument instead of
    two namespace arguments. This way it becomes impossible to conflate the two
    eliminating the possibility of any bugs. All of the vfs and all filesystems
    only operate on struct mnt_idmap.

    Acked-by: Dave Chinner <dchinner@redhat.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>

Signed-off-by: Ian Kent <ikent@redhat.com>
2024-10-16 10:45:12 +08:00
..
Kconfig ceph: conversion to new fscache API 2022-08-22 12:32:22 -04:00
Makefile ceph: fscrypt_auth handling for ceph 2024-03-26 10:24:12 +08:00
acl.c fs: port ->set_acl() to pass mnt_idmap 2024-10-16 10:45:12 +08:00
addr.c ceph: remove the incorrect Fw reference check when dirtying pages 2024-09-27 13:08:40 +08:00
cache.c mm, netfs, fscache: stop read optimisation when folio removed from pagecache 2023-09-13 18:20:12 -04:00
cache.h netfs: Further cleanups after struct netfs_inode wrapper introduced 2023-05-11 16:58:24 -04:00
caps.c ceph: force sending a cap update msg back to MDS for revoke op 2024-08-08 12:47:34 +08:00
ceph_frag.c
crypto.c ceph: remove unnecessary IS_ERR() check in ceph_fname_to_usr() 2024-03-26 10:24:16 +08:00
crypto.h ceph: add support for encrypted snapshot names 2024-03-26 10:24:15 +08:00
debugfs.c ceph: fix potential use-after-free bug when trimming caps 2023-05-23 11:54:01 +08:00
dir.c fs: port ->mknod() to pass mnt_idmap 2024-10-16 10:45:08 +08:00
export.c ceph: make ceph_fill_trace and ceph_get_name decrypt names 2024-03-26 10:24:13 +08:00
file.c filemap: update ki_pos in generic_perform_write 2024-04-17 10:04:37 +08:00
inode.c fs: port ->set_acl() to pass mnt_idmap 2024-10-16 10:45:12 +08:00
io.c ceph: fix kerneldoc copypasta over ceph_start_io_direct 2021-04-27 23:52:23 +02:00
io.h ceph: add buffered/direct exclusionary locking for reads and writes 2019-09-16 12:06:25 +02:00
ioctl.c ceph: add some fscrypt guardrails 2024-03-26 10:24:13 +08:00
ioctl.h
locks.c ceph: avoid use-after-free in ceph_fl_release_lock() 2023-05-23 10:56:58 +08:00
mds_client.c ceph: periodically flush the cap releases 2024-08-07 09:17:25 +08:00
mds_client.h ceph: switch to use cap_delay_lock for the unlink delay list 2024-04-17 09:53:54 +10:00
mdsmap.c ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-28 13:54:30 +08:00
metric.c ceph: never send metrics if disable_send_metrics is set 2023-11-16 08:58:18 +08:00
metric.h ceph: include average/stdev r/w/m latency in mds metrics 2022-05-10 13:08:15 -04:00
quota.c ceph: drop messages from MDS when unmounting 2024-03-26 10:24:15 +08:00
snap.c ceph: drop messages from MDS when unmounting 2024-03-26 10:24:15 +08:00
strings.c ceph: add getvxattr op 2022-05-10 13:08:14 -04:00
super.c ceph: wait for OSD requests' callbacks to finish when unmounting 2024-03-26 10:24:16 +08:00
super.h fs: port ->set_acl() to pass mnt_idmap 2024-10-16 10:45:12 +08:00
util.c ceph: move net/ceph/ceph_fs.c to fs/ceph/util.c 2020-01-27 16:53:40 +01:00
xattr.c ceph: add fscrypt ioctls and ceph.fscrypt.auth vxattr 2024-03-26 10:24:12 +08:00