linux-stable/fs
Linus Torvalds 0c750012e8 vfs-6.9.file
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCZem4tQAKCRCRxhvAZXjc
 ohnfAP4sm946PZfiC4y5Euk96WDC3hC8WCSBar+fpFmYVzeD9wEAy+NVCsjkMElz
 vqNxwFULUwQjFxxvsM9gvhrgGUud1AE=
 =UZk/
 -----END PGP SIGNATURE-----

Merge tag 'vfs-6.9.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull file locking updates from Christian Brauner:
 "A few years ago struct file_lock_context was added to allow for
  separate lists to track different types of file locks instead of using
  a singly-linked list for all of them.

  Now leases no longer need to be tracked using struct file_lock.
  However, a lot of the infrastructure is identical for leases and locks
  so separating them isn't trivial.

  This splits a group of fields used by both file locks and leases into
  a new struct file_lock_core. The new core struct is embedded in struct
  file_lock. Coccinelle was used to convert a lot of the callers to deal
  with the move, with the remaining 25% or so converted by hand.

  Afterwards several internal functions in fs/locks.c are made to work
  with struct file_lock_core. Ultimately this allows to split struct
  file_lock into struct file_lock and struct file_lease. The file lease
  APIs are then converted to take struct file_lease"

* tag 'vfs-6.9.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (51 commits)
  filelock: fix deadlock detection in POSIX locking
  filelock: always define for_each_file_lock()
  smb: remove redundant check
  filelock: don't do security checks on nfsd setlease calls
  filelock: split leases out of struct file_lock
  filelock: remove temporary compatibility macros
  smb/server: adapt to breakup of struct file_lock
  smb/client: adapt to breakup of struct file_lock
  ocfs2: adapt to breakup of struct file_lock
  nfsd: adapt to breakup of struct file_lock
  nfs: adapt to breakup of struct file_lock
  lockd: adapt to breakup of struct file_lock
  fuse: adapt to breakup of struct file_lock
  gfs2: adapt to breakup of struct file_lock
  dlm: adapt to breakup of struct file_lock
  ceph: adapt to breakup of struct file_lock
  afs: adapt to breakup of struct file_lock
  9p: adapt to breakup of struct file_lock
  filelock: convert seqfile handling to use file_lock_core
  filelock: convert locks_translate_pid to take file_lock_core
  ...
2024-03-11 10:37:45 -07:00
..
9p 9p: adapt to breakup of struct file_lock 2024-02-05 13:11:41 +01:00
adfs
affs affs: free affs_sb_info with kfree_rcu() 2024-02-25 02:10:31 -05:00
afs vfs-6.9.file 2024-03-11 10:37:45 -07:00
autofs
bcachefs bcachefs: fix bch2_save_backtrace() 2024-02-25 15:45:36 -05:00
befs
bfs
btrfs for-6.8-rc6-tag 2024-03-01 12:29:20 -08:00
cachefiles cachefiles: fix memory leak in cachefiles_add_cache() 2024-02-20 09:46:07 +01:00
ceph vfs-6.9.file 2024-03-11 10:37:45 -07:00
coda Convert coda to use the new mount API 2024-02-22 10:03:38 +01:00
configfs
cramfs
crypto case-insensitive updates for 6.9 2024-03-07 11:55:41 +01:00
debugfs
devpts
dlm dlm: adapt to breakup of struct file_lock 2024-02-05 13:11:42 +01:00
ecryptfs
efivarfs efivarfs: Drop 'duplicates' bool parameter on efivar_init() 2024-02-25 09:43:39 +01:00
efs efs: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:33 +01:00
erofs erofs: apply proper VMA alignment for memory mapped files on THP 2024-03-07 10:21:10 +08:00
exfat Description for this pull request: 2024-03-01 12:22:30 -08:00
exportfs
ext2
ext4 vfs-6.9.misc 2024-03-11 09:38:17 -07:00
f2fs vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
fat
freevxfs
fuse vfs-6.9.file 2024-03-11 10:37:45 -07:00
gfs2 vfs-6.9.file 2024-03-11 10:37:45 -07:00
hfs
hfsplus vfs-6.9.misc 2024-03-11 09:38:17 -07:00
hostfs
hpfs
hugetlbfs vfs-6.9.misc 2024-03-11 09:38:17 -07:00
iomap vfs-6.9.rw_hint 2024-03-04 18:35:21 +01:00
isofs
jbd2
jffs2
jfs vfs-6.9.misc 2024-03-11 09:38:17 -07:00
kernfs
lockd lockd: adapt to breakup of struct file_lock 2024-02-05 13:11:43 +01:00
minix minix: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:32 +01:00
netfs netfs: Fix missing zero-length check in unbuffered write 2024-01-29 14:53:21 +01:00
nfs vfs-6.9.file 2024-03-11 10:37:45 -07:00
nfs_common
nfsd vfs-6.9.file 2024-03-11 10:37:45 -07:00
nilfs2 nilfs2: fix potential bug in end_buffer_async_write 2024-02-07 21:20:37 -08:00
nls
notify
ntfs3 vfs-6.9.misc 2024-03-11 09:38:17 -07:00
ocfs2 ocfs2: adapt to breakup of struct file_lock 2024-02-05 13:11:43 +01:00
omfs
openpromfs openpromfs: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:32 +01:00
orangefs
overlayfs vfs-6.9.misc 2024-03-11 09:38:17 -07:00
proc vfs-6.9.misc 2024-03-11 09:38:17 -07:00
pstore
qnx4 qnx4: convert qnx4 to use the new mount api 2024-03-01 13:58:50 +01:00
qnx6 qnx6: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:32 +01:00
quota
ramfs
reiserfs reiserfs: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:32 +01:00
romfs romfs: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:31 +01:00
smb vfs-6.9.file 2024-03-11 10:37:45 -07:00
squashfs
sysfs
sysv sysv: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:31 +01:00
tracefs eventfs: Keep all directory links at 1 2024-02-01 11:53:53 -05:00
ubifs case-insensitive updates for 6.9 2024-03-07 11:55:41 +01:00
udf
ufs
unicode
vboxsf
verity
xfs vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
zonefs vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
Kconfig vfs-6.9.pidfd 2024-03-11 10:21:06 -07:00
Kconfig.binfmt
Makefile vfs-6.9.pidfd 2024-03-11 10:21:06 -07:00
aio.c fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion 2024-03-05 10:40:58 +01:00
anon_inodes.c
attr.c
backing-file.c fs: Use KMEM_CACHE instead of kmem_cache_create 2024-02-02 13:11:50 +01:00
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
char_dev.c
compat_binfmt_elf.c
coredump.c iov_iter: get rid of 'copy_mc' flag 2024-03-06 10:52:12 +01:00
d_path.c
dax.c
dcache.c vfs-6.9.misc 2024-03-11 09:38:17 -07:00
direct-io.c block, fs: Restore the per-bio/request data lifetime fields 2024-02-06 14:31:05 +01:00
drop_caches.c
eventfd.c eventfd: strictly check the count parameter of eventfd_write to avoid inputting illegal strings 2024-02-08 10:12:26 +01:00
eventpoll.c eventpoll: prefer kfree_rcu() in __ep_remove() 2024-02-22 10:03:31 +01:00
exec.c vfs-6.9.pidfd 2024-03-11 10:21:06 -07:00
fcntl.c vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
fhandle.c
file.c
file_table.c
filesystems.c
fs-writeback.c
fs_context.c
fs_parser.c __fs_parse: Correct a documentation comment 2024-02-02 13:11:50 +01:00
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c vfs-6.9.iomap 2024-03-11 10:07:03 -07:00
internal.h libfs: improve path_from_stashed() 2024-03-01 22:31:40 +01:00
ioctl.c
kernel_read_file.c
libfs.c vfs-6.9.file 2024-03-11 10:37:45 -07:00
locks.c filelock: fix deadlock detection in POSIX locking 2024-02-20 09:53:33 +01:00
mbcache.c vfs: remove SLAB_MEM_SPREAD flag usage 2024-02-27 11:21:31 +01:00
mnt_idmapping.c fs/mnt_idmapping.c: Return -EINVAL when no map is written 2024-02-08 10:12:37 +01:00
mount.h
mpage.c block, fs: Restore the per-bio/request data lifetime fields 2024-02-06 14:31:05 +01:00
namei.c vfs-6.9.misc 2024-03-11 09:38:17 -07:00
namespace.c fs: relax mount_setattr() permission checks 2024-02-07 21:16:29 +01:00
nsfs.c libfs: improve path_from_stashed() 2024-03-01 22:31:40 +01:00
open.c filelock: split common fields into struct file_lock_core 2024-02-05 13:11:38 +01:00
pidfs.c libfs: improve path_from_stashed() 2024-03-01 22:31:40 +01:00
pipe.c fs/pipe: Convert to lockdep_cmp_fn 2024-02-02 13:11:49 +01:00
pnode.c
pnode.h
posix_acl.c filelock: split common fields into struct file_lock_core 2024-02-05 13:11:38 +01:00
proc_namespace.c
read_write.c
readdir.c
remap_range.c remap_range: merge do_clone_file_range() into vfs_clone_file_range() 2024-02-06 17:07:21 +01:00
select.c fs/select: rework stack allocation hack for clang 2024-02-20 09:23:52 +01:00
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c fs/super.c: don't drop ->s_user_ns until we free struct super_block itself 2024-02-25 02:10:31 -05:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c