[OpenWrt-Devel,fstools,PATCH:,2/4] libblkid-tiny: increment label size to 256
diff mbox series

Message ID 20190616170050.27126-2-ansuelsmth@gmail.com
State Accepted
Delegated to: John Crispin
Headers show
Series
  • [OpenWrt-Devel,fstools,PATCH:,1/4] libblkid-tiny: fix wrong btrfs label length
Related show

Commit Message

Ansuel Smith June 16, 2019, 5 p.m. UTC
Btrfs max label lenght is 255. Increment the blkid_struct_probe struct to respect this new max value.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
---
 libblkid-tiny/libblkid-tiny.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/libblkid-tiny/libblkid-tiny.h b/libblkid-tiny/libblkid-tiny.h
index 193d926..419d5db 100644
--- a/libblkid-tiny/libblkid-tiny.h
+++ b/libblkid-tiny/libblkid-tiny.h
@@ -56,7 +56,7 @@  struct blkid_struct_probe
 	int	err;
 	char	dev[32];
 	char	uuid[64];
-	char	label[64];
+	char	label[256];
 	char	version[64];
 };