summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-11-03 15:08:09 +0100
committerCarlos Maiolino <cem@kernel.org>2026-11-10 11:21:30 +0100
commit369726f6be714852f4e73882a351938bd3f8c4cd (patch)
treed4a10c0b12b3227b11d0724801f94ab5a1475c0a /tools/perf/scripts/python/bin
parentf9bfe5af596a5ef6fc745c30bda41f9a109ed16d (diff)
xfs: always call xfs_update_stable_writes in xfs_ioctl_setattr_xflags
Currently xfs_update_stable_writes() is never called when the RT flag is flipped because xfs_ioctl_setattr_xflags() updates ip->i_diflags before comparing the rtflag variable to XFS_IS_REALTIME_INODE(ip), and thus the stable flag can be set incorretly when flipping the realtime bit on an existing file. Fix this by unconditionally calling xfs_update_stable_writes for regular files. Fixes: d528a6c1d4b6 ("xfs: data checksums require stable writes") Reported-by: Wilfred Mallawa <wilfred.opensource@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions