[PATCH 4/7] backports: Add GUID_INIT()
Hauke Mehrtens <[email protected]>
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <[email protected]> |
Linux commit f9727a17db9b ("uuid: rename uuid types") added the
GUID_INIT() function, use the UUID_LE on older kernel versions.
Signed-off-by: Hauke Mehrtens <[email protected]>
---
backport/backport-include/linux/uuid.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/backport/backport-include/linux/uuid.h b/backport/backport-include/linux/uuid.h
index bc6fbe17..90352f1b 100644
--- a/backport/backport-include/linux/uuid.h
+++ b/backport/backport-include/linux/uuid.h
@@ -14,6 +14,7 @@
#if LINUX_VERSION_IS_LESS(4,13,0)
#define guid_t uuid_le
#define uuid_t uuid_be
+#define GUID_INIT UUID_LE
static inline void guid_gen(guid_t *u)
{
--
2.20.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in