linux-kernelorg-stable/fs
Linus Torvalds f2e74ecfba vfs-6.19-rc1.folio
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCaSmOZQAKCRCRxhvAZXjc
 onGBAQDtqeO0jZzS7q9UxlJ84Wj/H9w+9INpO4jMxtWK4svhUAEAghG4qVxRvkE2
 Qh+wrpTPIC7OCQ78k8psDRmkj9cn8QA=
 =FCVN
 -----END PGP SIGNATURE-----

Merge tag 'vfs-6.19-rc1.folio' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull folio updates from Christian Brauner:
 "Add a new folio_next_pos() helper function that returns the file
  position of the first byte after the current folio. This is a common
  operation in filesystems when needing to know the end of the current
  folio.

  The helper is lifted from btrfs which already had its own version, and
  is now used across multiple filesystems and subsystems:
   - btrfs
   - buffer
   - ext4
   - f2fs
   - gfs2
   - iomap
   - netfs
   - xfs
   - mm

  This fixes a long-standing bug in ocfs2 on 32-bit systems with files
  larger than 2GiB. Presumably this is not a common configuration, but
  the fix is backported anyway. The other filesystems did not have bugs,
  they were just mildly inefficient.

  This also introduce uoff_t as the unsigned version of loff_t. A recent
  commit inadvertently changed a comparison from being unsigned (on
  64-bit systems) to being signed (which it had always been on 32-bit
  systems), leading to sporadic fstests failures.

  Generally file sizes are restricted to being a signed integer, but in
  places where -1 is passed to indicate "up to the end of the file", it
  is convenient to have an unsigned type to ensure comparisons are
  always unsigned regardless of architecture"

* tag 'vfs-6.19-rc1.folio' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fs: Add uoff_t
  mm: Use folio_next_pos()
  xfs: Use folio_next_pos()
  netfs: Use folio_next_pos()
  iomap: Use folio_next_pos()
  gfs2: Use folio_next_pos()
  f2fs: Use folio_next_pos()
  ext4: Use folio_next_pos()
  buffer: Use folio_next_pos()
  btrfs: Use folio_next_pos()
  filemap: Add folio_next_pos()
2025-12-01 10:26:38 -08:00
..
9p vfs-6.19-rc1.writeback 2025-12-01 09:20:51 -08:00
adfs
affs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
afs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
autofs
befs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
bfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
btrfs vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
cachefiles
ceph vfs-6.19-rc1.writeback 2025-12-01 09:20:51 -08:00
coda Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
configfs file->f_path constification 2025-10-03 16:32:36 -07:00
cramfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
crypto vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
debugfs
devpts
dlm
ecryptfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
efivarfs power: always freeze efivarfs 2025-11-12 10:12:39 +01:00
efs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
erofs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
exfat vfs-6.18-rc7.fixes 2025-11-17 09:11:27 -08:00
exportfs
ext2 Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
ext4 vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
f2fs vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
fat vfat: fix missing sb_min_blocksize() return value checks 2025-11-05 14:00:16 +01:00
freevxfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
fuse vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
gfs2 vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
hfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
hfsplus Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
hostfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
hpfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
hugetlbfs hugetlbfs: move lock assertions after early returns in huge_pmd_unshare() 2025-10-21 15:46:17 -07:00
iomap vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
isofs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
jbd2 jbd2: ensure that all ongoing I/O complete before freeing blocks 2025-10-10 13:10:06 -04:00
jffs2 Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
jfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
kernfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
lockd
minix Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
netfs vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
nfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
nfs_common
nfsd vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
nilfs2 vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
nls
notify vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
ntfs3 Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
ocfs2 vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
omfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
openpromfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
orangefs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
overlayfs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
proc fs/proc: fix uaf in proc_readdir_de() 2025-11-09 21:19:43 -08:00
pstore
qnx4 Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
qnx6 Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
quota Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
ramfs
resctrl x86,fs/resctrl: Fix NULL pointer dereference with events force-disabled in mbm_event mode 2025-10-20 18:06:31 +02:00
romfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
smb vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
squashfs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
sysfs sysfs: check visibility before changing group attribute ownership 2025-10-17 09:48:34 +02:00
tests
tracefs
ubifs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
udf Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
ufs Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
unicode
vboxsf
verity
xfs vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
zonefs vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
Kconfig Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
Kconfig.binfmt
Makefile
aio.c Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
anon_inodes.c
attr.c
backing-file.c fs, iomap: remove IOCB_DIO_CALLER_COMP 2025-11-25 10:22:18 +01:00
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_flat.c
binfmt_misc.c binfmt_misc: restore write access before closing files opened by open_exec() 2025-11-05 14:00:16 +01:00
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: fix core_pattern input validation 2025-10-07 13:12:46 +02:00
d_path.c
dax.c vfs-6.19-rc1.iomap 2025-12-01 08:14:00 -08:00
dcache.c vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
direct-io.c
drop_caches.c Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
eventfd.c
eventpoll.c
exec.c coredump: fix core_pattern input validation 2025-10-07 13:12:46 +02:00
fcntl.c
fhandle.c
file.c fs: move fd_install() slowpath into a dedicated routine and provide commentary 2025-11-12 12:19:09 +01:00
file_attr.c fs: remove spurious exports in fs/file_attr.c 2025-11-19 12:17:31 +01:00
file_table.c fs: update comment in init_file() 2025-10-07 12:48:33 +02:00
filesystems.c
fs-writeback.c vfs-6.19-rc1.writeback 2025-12-01 09:20:51 -08:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
internal.h file->f_path constification 2025-10-03 16:32:36 -07:00
ioctl.c
kernel_read_file.c
libfs.c namespace-6.19-rc1 2025-12-01 09:47:41 -08:00
locks.c
mbcache.c
mnt_idmapping.c
mount.h fs: use boolean to indicate anonymous mount namespace 2025-11-11 10:01:31 +01:00
mpage.c
namei.c vfs-6.19-rc1.inode 2025-12-01 09:02:34 -08:00
namespace.c namespace-6.19-rc1 2025-12-01 09:47:41 -08:00
nsfs.c ns: handle setns(pidfd, ...) cleanly 2025-11-10 10:20:54 +01:00
open.c fs: touch predicts in do_dentry_open() 2025-11-12 12:19:09 +01:00
pidfs.c vfs-6.19-rc1.coredump 2025-12-01 10:17:39 -08:00
pipe.c Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c fs/splice.c: trivial fix: pipes -> pipe's 2025-11-25 10:11:16 +01:00
stack.c
stat.c
statfs.c
super.c vfs-6.19-rc1.writeback 2025-12-01 09:20:51 -08:00
sync.c vfs-6.19-rc1.writeback 2025-12-01 09:20:51 -08:00
sysctls.c
timerfd.c
userfaultfd.c
utimes.c fs: export vfs_utimes 2025-11-26 14:50:10 +01:00
xattr.c