Skip to content

NFSv4 only print the label when its queried

Benjamin Coddington requested to merge bcodding/centos-stream-9:bz2057327 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2057327

commit 2c52c8376db7160a1dd8a681c61c9258405ef143 Author: Olga Kornievskaia kolga@netapp.com Date: Mon Nov 29 15:33:56 2021 -0500

NFSv4 only print the label when its queried

When the bitmask of the attributes doesn't include the security label,
don't bother printing it. Since the label might not be null terminated,
adjust the printing format accordingly.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>

Signed-off-by: Benjamin Coddington bcodding@redhat.com

Edited by Benjamin Coddington

Merge request reports