]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/020: fix another really long attr test failure for ceph
authorXiubo Li <xiubli@redhat.com>
Sun, 19 Mar 2023 06:29:27 +0000 (14:29 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Mar 2023 04:37:54 +0000 (12:37 +0800)
commit2d7d5f49e7276a8f40ca28d03408a4d807be8936
tree5753516e25e9dad6396485b835c64837bfeb1e84
parent02200cb8853dcd4cb6272126b7f9bc0a83b889c6
generic/020: fix another really long attr test failure for ceph

If the CONFIG_CEPH_FS_SECURITY_LABEL is disabled the kernel ceph
the 'selinux_size' will be empty and then:
max_attrval_size=$((65536 - $size - $selinux_size - $max_attrval_namelen))
will be:
max_attrval_size=$((65536 - $size - - $max_attrval_namelen))
which equals to:
max_attrval_size=$((65536 - $size + $max_attrval_namelen))

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/020