linux/fs/f2fs
Linus Torvalds 57fcb7d930 vfs-6.17-rc1.fileattr
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCaINCpgAKCRCRxhvAZXjc
 oqfFAQDcy3rROUF3W34KcSi7rDmaKVSX53d1tUoqH+1zDRpSlwEAriKDNC1ybudp
 YAnxVzkRHjHs1296WIuwKq5lfhJ60Q4=
 =geAl
 -----END PGP SIGNATURE-----

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

Pull fileattr updates from Christian Brauner:
 "This introduces the new file_getattr() and file_setattr() system calls
  after lengthy discussions.

  Both system calls serve as successors and extensible companions to
  the FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR system calls which have
  started to show their age in addition to being named in a way that
  makes it easy to conflate them with extended attribute related
  operations.

  These syscalls allow userspace to set filesystem inode attributes on
  special files. One of the usage examples is the XFS quota projects.

  XFS has project quotas which could be attached to a directory. All new
  inodes in these directories inherit project ID set on parent
  directory.

  The project is created from userspace by opening and calling
  FS_IOC_FSSETXATTR on each inode. This is not possible for special
  files such as FIFO, SOCK, BLK etc. Therefore, some inodes are left
  with empty project ID. Those inodes then are not shown in the quota
  accounting but still exist in the directory. This is not critical but
  in the case when special files are created in the directory with
  already existing project quota, these new inodes inherit extended
  attributes. This creates a mix of special files with and without
  attributes. Moreover, special files with attributes don't have a
  possibility to become clear or change the attributes. This, in turn,
  prevents userspace from re-creating quota project on these existing
  files.

  In addition, these new system calls allow the implementation of
  additional attributes that we couldn't or didn't want to fit into the
  legacy ioctls anymore"

* tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fs: tighten a sanity check in file_attr_to_fileattr()
  tree-wide: s/struct fileattr/struct file_kattr/g
  fs: introduce file_getattr and file_setattr syscalls
  fs: prepare for extending file_get/setattr()
  fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP
  selinux: implement inode_file_[g|s]etattr hooks
  lsm: introduce new hooks for setting/getting inode fsxattr
  fs: split fileattr related helpers into separate file
2025-07-28 15:24:14 -07:00
..
acl.c f2fs: Pass a folio to f2fs_getxattr() 2025-04-28 15:26:42 +00:00
acl.h f2fs: Pass folios to f2fs_init_acl() 2025-04-28 15:26:41 +00:00
checkpoint.c f2fs: introduce is_{meta,node}_folio 2025-05-28 16:03:26 +00:00
compress.c f2fs: clean up to check bi_status w/ BLK_STS_OK 2025-05-28 16:03:39 +00:00
data.c fs: change write_begin/write_end interface to take struct kiocb * 2025-07-16 14:48:18 +02:00
debug.c f2fs: keep POSIX_FADV_NOREUSE ranges 2025-02-13 17:58:31 +00:00
dir.c f2fs: Pass a folio to f2fs_update_inode() 2025-04-28 15:26:47 +00:00
extent_cache.c f2fs: Convert dnode_of_data->node_page to node_folio 2025-04-28 15:26:47 +00:00
f2fs.h tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
file.c vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
gc.c f2fs-for-6.16-rc1 2025-05-30 08:40:25 -07:00
gc.h f2fs: decrease spare area for pinned files for zoned devices 2024-11-01 01:19:00 +00:00
hash.c
inline.c f2fs: drop usage of folio_index 2025-05-06 15:46:55 +00:00
inode.c f2fs: remove unused sbi argument from checksum functions 2025-05-27 23:52:35 +00:00
iostat.c f2fs: add async reset zone command support 2023-06-12 13:04:09 -07:00
iostat.h f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx() 2023-02-07 10:39:28 -08:00
Kconfig f2fs: switch to using the crc32 library 2024-12-01 17:23:02 -08:00
Makefile
namei.c f2fs: fix to correct check conditions in f2fs_cross_rename 2025-05-28 16:05:25 +00:00
node.c f2fs: Fix __write_node_folio() conversion 2025-06-10 14:52:21 +00:00
node.h f2fs: Pass a folio to set_nid() 2025-04-28 15:26:47 +00:00
recovery.c f2fs: Convert dnode_of_data->node_page to node_folio 2025-04-28 15:26:47 +00:00
segment.c f2fs: fix to skip f2fs_balance_fs() if checkpoint is disabled 2025-05-28 16:04:15 +00:00
segment.h f2fs: add ckpt_valid_blocks to the section entry 2025-05-28 15:58:49 +00:00
shrinker.c f2fs: handle error cases of memory donation 2025-05-06 15:46:55 +00:00
super.c f2fs: use d_inode(dentry) cleanup dentry->d_inode 2025-05-28 16:05:22 +00:00
sysfs.c f2fs: sysfs: export linear_lookup in features directory 2025-05-06 15:46:54 +00:00
verity.c f2fs-6.12-rc1 2024-09-24 15:12:38 -07:00
xattr.c f2fs: Pass a folio to inline_xattr_addr() 2025-04-28 15:26:43 +00:00
xattr.h f2fs: Pass a folio to f2fs_getxattr() 2025-04-28 15:26:42 +00:00