summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch')
-rw-r--r--0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch b/0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch
index a6b4527..6ad8532 100644
--- a/0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch
+++ b/0016-libfsimage-xfs-Amend-mask32lo-to-allow-the-value-32.patch
@@ -1,7 +1,7 @@
From 7d520b8d4ec7495f1ef1e4343a4f705a363e0c9c Mon Sep 17 00:00:00 2001
From: Alejandro Vallejo <alejandro.vallejo@cloud.com>
Date: Thu, 14 Sep 2023 13:22:51 +0100
-Subject: [PATCH 16/27] libfsimage/xfs: Amend mask32lo() to allow the value 32
+Subject: [PATCH 16/30] libfsimage/xfs: Amend mask32lo() to allow the value 32
agblklog could plausibly be 32, but that would overflow this shift.
Perform the shift as ULL and cast to u32 at the end instead.
@@ -29,5 +29,5 @@ index 2800699f59..4720bb4505 100644
#define XFS_INO_MASK(k) ((xfs_uint32_t)((1ULL << (k)) - 1))
#define XFS_INO_OFFSET_BITS xfs.inopblog
--
-2.42.0
+2.43.0