diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-05 18:21:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-05 18:21:55 +0100 |
commit | fbc04bf01a8d5a639c2e90fea9402f715cf10ff2 (patch) | |
tree | 33d1b1a15ef543e3917b79efd2e7f42259a20f70 /scripts/generate_initcall_order.pl | |
parent | Merge tag 'vfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff) | |
parent | xfs: ensure log flush at the end of a synchronous fallocate call (diff) | |
download | linux-fbc04bf01a8d5a639c2e90fea9402f715cf10ff2.tar.xz linux-fbc04bf01a8d5a639c2e90fea9402f715cf10ff2.zip |
Merge tag 'xfs-5.17-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Darrick Wong:
"I was auditing operations in XFS that clear file privileges, and
realized that XFS' fallocate implementation drops suid/sgid but
doesn't clear file capabilities the same way that file writes and
reflink do.
There are VFS helpers that do it correctly, so refactor XFS to use
them. I also noticed that we weren't flushing the log at the correct
point in the fallocate operation, so that's fixed too.
Summary:
- Fix fallocate so that it drops all file privileges when files are
modified instead of open-coding that incompletely.
- Fix fallocate to flush the log if the caller wanted synchronous
file updates"
* tag 'xfs-5.17-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs: ensure log flush at the end of a synchronous fallocate call
xfs: move xfs_update_prealloc_flags() to xfs_pnfs.c
xfs: set prealloc flag in xfs_alloc_file_space()
xfs: fallocate() should call file_modified()
xfs: remove XFS_PREALLOC_SYNC
xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP*
Diffstat (limited to 'scripts/generate_initcall_order.pl')
0 files changed, 0 insertions, 0 deletions