1/4 Fixes a bug that we were applying an incomplete string zstd.
2/4 Fixes a bug that the compression property gets reset to NULL after a
failed attempt to change the compression parameter on the object.
3/4 preparatory patch so that btrfs_set_prop_trans() can be merged with
btrfs_set_prop() in 4/4.
4/4 Fixes a bug that we were incrementing the generation even when the
property validation check failed.
3/4 and 4/4 are only added here.
Anand Jain (4):
btrfs: fix zstd compression parameter
btrfs: fix vanished compression property after failed set
btrfs: open code btrfs_set_prop in inherit_prop
btrfs: fix property validate fail should not increment generation
fs/btrfs/ioctl.c | 10 +++---
fs/btrfs/props.c | 94 ++++++++++++++++++++++++++++++--------------------------
fs/btrfs/props.h | 4 +--
fs/btrfs/xattr.c | 2 +-
4 files changed, 58 insertions(+), 52 deletions(-)
--
1.8.3.1