Btrfs fixes for 5.18-rc6
Hi,
a few more fixes mostly around how some file attributes could be set. Please pull, thanks.
- fix handling of compression property
- don't allow setting it on anything else than regular file or directory
- do not allow setting it on nodatacow files via properties
- improved error handling when setting xattr
- make sure symlinks are always properly logged
----------------------------------------------------------------
The following changes since commit 5f0addf7b89085f8e0a2593faa419d6111612b9b:
btrfs: zoned: use dedicated lock for data relocation (2022-04-21 16:06:24 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.18-rc5-tag
for you to fetch changes up to 4b73c55fdebd8939f0f6000921075f7f6fa41397:
btrfs: skip compression property for anything other than files and dirs (2022-04-27 22:20:21 +0200)
----------------------------------------------------------------
Chung-Chiang Cheng (2):
btrfs: export a helper for compression hard check
btrfs: do not allow compression on nodatacow files
Filipe Manana (3):
btrfs: always log symlinks in full mode
btrfs: do not BUG_ON() on failure to update inode when setting xattr
btrfs: skip compression property for anything other than files and dirs
fs/btrfs/btrfs_inode.h | 11 ++++++++++ fs/btrfs/inode.c | 15 ++----------- fs/btrfs/props.c | 59 +++++++++++++++++++++++++++++++++++++++++++++----- fs/btrfs/props.h | 4 +++- fs/btrfs/tree-log.c | 14 +++++++++++- fs/btrfs/xattr.c | 11 +++++++--- 6 files changed, 91 insertions(+), 23 deletions(-)
The pull request you sent on Mon, 2 May 2022 18:47:39 +0200:
The pull request you sent on Mon, 2 May 2022 18:47:39 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.gitfor-5.18-rc5-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9050ba3a61a4b5bd84c2cde092a100404f814f31
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html