mbox series

[0/4] Introduce XFS_IOC_SETFSXATTRAT/XFS_IOC_GETFSXATTRAT ioctls

Message ID 20240509151459.3622910-2-aalbersh@redhat.com (mailing list archive)
Headers show
Series Introduce XFS_IOC_SETFSXATTRAT/XFS_IOC_GETFSXATTRAT ioctls | expand

Message

Andrey Albershteyn May 9, 2024, 3:14 p.m. UTC
Hi all,

This patchset adds new ioctl for setting/getting inode extended
attributes on special files. This roots from xfs_quota not being
able to set project IDs on special files [1]. New XFS ioctl can be
used directly on filesystem inodes to set project ID.

Corresponding xfsprogs patch will follow.

[1]: https://lore.kernel.org/linux-xfs/20240314170700.352845-3-aalbersh@redhat.com/

Andrey Albershteyn (4):
  fs: export copy_fsxattr_from_user()
  xfs: allow renames of project-less inodes
  xfs: allow setting xattrs on special files
  xfs: add XFS_IOC_SETFSXATTRAT and XFS_IOC_GETFSXATTRAT

 fs/ioctl.c               |  11 ++-
 fs/xfs/libxfs/xfs_fs.h   |  11 +++
 fs/xfs/xfs_inode.c       |  15 +++-
 fs/xfs/xfs_ioctl.c       | 182 ++++++++++++++++++++++++++++++++++++++-
 include/linux/fileattr.h |   1 +
 5 files changed, 212 insertions(+), 8 deletions(-)