Skip to content

xfs backports for 5.10.y (from v5.15.103)

Amir Goldstein linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15xfs: don't assert fail on perag references on teardownfs/xfs/xfs_mount.c+1 -20 replies
2/15xfs: purge dquots after inode walk fails during quotacheckfs/xfs/xfs_qm.c+8 -10 replies
3/15xfs: don't leak btree cursor when insrec fails after a splitfs/xfs/libxfs/xfs_btree.c+5 -30 replies
4/15xfs: remove XFS_PREALLOC_SYNCfs/xfs/xfs_file.c fs/xfs/xfs_pnfs.c+11 -80 replies
5/15xfs: fallocate() should call file_modified()fs/xfs/xfs_file.c+9 -40 replies
6/15xfs: set prealloc flag in xfs_alloc_file_space()fs/xfs/xfs_bmap_util.c fs/xfs/xfs_file.c+3 -140 replies
7/15xfs: use setattr_copy to set vfs inode attributesfs/xfs/xfs_iops.c fs/xfs/xfs_pnfs.c+5 -540 replies
8/15fs: add mode_strip_sgid() helperfs/inode.c include/linux/fs.h+31 -40 replies
9/15fs: move S_ISGID stripping into the vfs_*() helpersfs/inode.c fs/namei.c fs/ocfs2/namei.c+68 -150 replies
10/15attr: add in_group_or_capable()fs/attr.c fs/inode.c fs/internal.h+27 -100 replies
11/15fs: move should_remove_suid()fs/attr.c fs/inode.c+29 -290 replies
12/15attr: add setattr_should_drop_sgid()fs/attr.c fs/internal.h+30 -00 replies
13/15attr: use consistent sgid stripping checksDocumentation/trace/ftrace.rst fs/attr.c fs/inode.c +3 more+25 -220 replies
14/15fs: use consistent setgid checks in is_sxid()include/linux/fs.h+1 -10 replies
15/15xfs: remove xfs_setattr_time() declarationfs/xfs/xfs_iops.h+0 -10 replies

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDarrick J. WongChristoph HellwigDave ChinnerChristian BraunerJeff LaytonAmir GoldsteinCarlos Maiolino
SeriesA-b
1/15R-b R-b
2/15R-b R-b
3/15R-b R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b R-b R-b
8/15R-b R-b Reviewed-and-Tested-by
9/15R-b Reviewed-and-Tested-by
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 5.10 CANDIDATE 00/15] xfs backports for 5.10.y (from v5.15.103)

Darrick,

Following backports catch up with recent 5.15.y backports.

Patches 1-3 are the backports from the previous 5.15 round that Chandan requested for 5.4 [1].

Patches 4-14 are the SGID fixes that I collaborated with Leah [2]. Christian has reviewed the backports of his vfs patches to 5.10.

Patch 15 is a fix for a build warning caused by one of the SGID fixes.

This series has gone through the usual kdevops testing routine.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-xfs/874jrtzlgp.fsf@debian-BULLSEYE-live-builder-AMD64/
[2] https://lore.kernel.org/linux-xfs/[email protected]/

Amir Goldstein (4):
attr: add in_group_or_capable()
fs: move should_remove_suid()
attr: add setattr_should_drop_sgid()
attr: use consistent sgid stripping checks

Christian Brauner (1):
fs: use consistent setgid checks in is_sxid()

Darrick J. Wong (3):
xfs: purge dquots after inode walk fails during quotacheck
xfs: don't leak btree cursor when insrec fails after a split
xfs: use setattr_copy to set vfs inode attributes

Dave Chinner (4):
xfs: don't assert fail on perag references on teardown
xfs: remove XFS_PREALLOC_SYNC
xfs: fallocate() should call file_modified()
xfs: set prealloc flag in xfs_alloc_file_space()

Gaosheng Cui (1):
xfs: remove xfs_setattr_time() declaration

Yang Xu (2):
fs: add mode_strip_sgid() helper
fs: move S_ISGID stripping into the vfs_*() helpers

 Documentation/trace/ftrace.rst |  2 +-
 fs/attr.c                      | 70 ++++++++++++++++++++++++++---
 fs/inode.c                     | 80 +++++++++++++++++++---------------
 fs/internal.h                  |  6 +++
 fs/namei.c                     | 80 ++++++++++++++++++++++++++++------
 fs/ocfs2/file.c                |  4 +-
 fs/ocfs2/namei.c               |  1 +
 fs/open.c                      |  6 +--
 fs/xfs/libxfs/xfs_btree.c      |  8 ++--
 fs/xfs/xfs_bmap_util.c         |  9 ++--
 fs/xfs/xfs_file.c              | 24 +++++-----
 fs/xfs/xfs_iops.c              | 56 ++----------------------
 fs/xfs/xfs_iops.h              |  1 -
 fs/xfs/xfs_mount.c             |  3 +-
 fs/xfs/xfs_pnfs.c              |  9 ++--
 fs/xfs/xfs_qm.c                |  9 +++-
 include/linux/fs.h             |  5 ++-
 17 files changed, 229 insertions(+), 144 deletions(-)
Signature · 1 line
2.34.1