[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211123101119.5112-1-lczerner@redhat.com>
Date: Tue, 23 Nov 2021 11:11:19 +0100
From: Lukas Czerner <lczerner@...hat.com>
To: fstests@...r.kernel.org, linux-ext4@...r.kernel.org
Subject: [PATCH] common/rc: set maximum label length for ext4
Set maximum label length for ext4 in _label_get_max() to be able to test
online file system label set/get ioctls.
Signed-off-by: Lukas Czerner <lczerner@...hat.com>
---
common/rc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/rc b/common/rc
index 8e351f17..50d6d0bd 100644
--- a/common/rc
+++ b/common/rc
@@ -4545,6 +4545,9 @@ _label_get_max()
f2fs)
echo 255
;;
+ ext2|ext3|ext4)
+ echo 16
+ ;;
*)
_notrun "$FSTYP does not define maximum label length"
;;
--
2.31.1
Powered by blists - more mailing lists