Skip to content

Introduce FS_IOC_FSSETXATTRAT/FS_IOC_FSGETXATTRAT ioctls

Andrey Albershteyn linux-fsdevel linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 43 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xfs: allow renames of project-less inodesfs/xfs/xfs_inode.c+34 -301 reply
2/4fs: add FS_IOC_FSSETXATTRAT and FS_IOC_FSGETXATTRATfs/ioctl.c include/uapi/linux/fs.h+104 -040 replies
3/4xfs: allow setting xattrs on special filesfs/xfs/xfs_ioctl.c+0 -61 reply
4/4xfs: add fileattr_set/get for symlinksfs/xfs/xfs_iops.c+2 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/4R-b
2/4
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.42.0