[git pull] fget() whack-a-mole

From: Al Viro
Date: Mon Apr 24 2023 - 00:25:39 EST


The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fd

for you to fetch changes up to 4a892c0fe4bb0546d68a89fa595bd22cb4be2576:

fuse_dev_ioctl(): switch to fdget() (2023-04-20 22:55:35 -0400)

----------------------------------------------------------------
fget() to fdget() conversions

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Al Viro (8):
convert setns(2) to fdget()/fdput()
convert sgx_set_attribute() to fdget()/fdput()
SVM-SEV: convert the rest of fget() uses to fdget() in there
kill the last remaining user of proc_ns_fget()
build_mount_idmapped(): switch to fdget()
bpf: switch to fdget_raw()
cgroup_get_from_fd(): switch to fdget_raw()
fuse_dev_ioctl(): switch to fdget()

arch/x86/kernel/cpu/sgx/main.c | 11 +++++------
arch/x86/kvm/svm/sev.c | 26 ++++++++++++++------------
fs/fuse/dev.c | 41 +++++++++++++++++++++--------------------
fs/namespace.c | 12 ++++++------
fs/nsfs.c | 18 ------------------
include/linux/proc_ns.h | 1 -
kernel/bpf/bpf_inode_storage.c | 38 +++++++++++++++-----------------------
kernel/cgroup/cgroup.c | 10 ++++------
kernel/nsproxy.c | 17 ++++++++---------
net/core/net_namespace.c | 23 +++++++++++------------
10 files changed, 84 insertions(+), 113 deletions(-)