Thread (11 messages) 11 messages, 4 authors, 2022-07-20

Re: [PATCH v4] Add ioctls to get/set the ext4 superblock uuid.

flat view

From: Matthew Wilcox <willy@infradead.org>
Date: 2022-07-20 03:19:19
Also in: linux-ext4, linux-fsdevel

On Tue, Jul 19, 2022 at 04:41:31PM -0700, Jeremy Bongio wrote:
quoted hunk ↗ jump to hunk
+/*
+ * Structure for EXT4_IOC_GETFSUUID/EXT4_IOC_SETFSUUID
+ */
+struct fsuuid {
+	__u32       fsu_len;
+	__u32       fsu_flags;
+	__u8        fsu_uuid[];
+};
A UUID has a defined size (128 bits):
https://en.wikipedia.org/wiki/Universally_unique_identifier

Why are we defining flags and len?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help