[PATCH v2 0/4] Introduce FS_IOC_FSSETXATTRAT/FS_IOC_FSGETXATTRAT ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This patchset adds new ioctl for setting/getting inode extended
attributes on fs inodes, useful for special files which return VFS
inode on open() and therefore FS_IOC_FSSETXATTR can not be used.
This roots from xfs_quota not being able to set project IDs on
special files [1].

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

Andrey Albershteyn (4):
  xfs: allow renames of project-less inodes
  fs: add FS_IOC_FSSETXATTRAT and FS_IOC_FSGETXATTRAT
  xfs: allow setting xattrs on special files
  xfs: add fileattr_set/get for symlinks

 fs/ioctl.c              | 93 +++++++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_inode.c      | 64 +++++++++++++++-------------
 fs/xfs/xfs_ioctl.c      |  6 ---
 fs/xfs/xfs_iops.c       |  2 +
 include/uapi/linux/fs.h | 11 +++++
 5 files changed, 140 insertions(+), 36 deletions(-)

-- 
2.42.0





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux