diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-06-20 19:05:40 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-06-22 21:04:09 +0200 |
commit | 37f1e3a8eda85c6dfa4dc1f0bd34ea16ad26208c (patch) | |
tree | 72d4e1ba64788c114310bc887e258660663378d3 | |
parent | 41fda2e3c7f0ad7fb41d7e75ad307eacfd1c95f9 (diff) | |
download | backports-37f1e3a8eda85c6dfa4dc1f0bd34ea16ad26208c.tar.gz |
backports: Add GUID_INIT()
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 <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/uuid.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |