HFS+ implementation supports only inline extended attributes.
The size of value for inline xattr is limited by 3802 bytes [1].
[1] https://elixir.bootlin.com/linux/v6.19-rc2/source/include/linux/hfs_common.h#L626
Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
fi
max_attrval_size=$((65536 - $size - $selinux_size - $max_attrval_namelen))
;;
+ hfsplus)
+ # HFS+ implementation supports only inline extended attributes.
+ # The size of value for inline xattr is limited by 3802 bytes.
+ max_attrval_size=3802
+ ;;
*)
# Assume max ~1 block of attrs
BLOCK_SIZE=`_get_block_size $TEST_DIR`