Skip to contentSkip to conversation

mm-shmem-use-signed-int-for-version-handling-in-casefold-option.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Jan 16, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: shmem: use signed int for version handling in casefold option
has been removed from the -mm tree. Its filename was
mm-shmem-use-signed-int-for-version-handling-in-casefold-option.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Karan Sanghavi <[email protected]>
Subject: mm: shmem: use signed int for version handling in casefold option
Date: Sat, 11 Jan 2025 15:31:30 +0000

Fixes an issue where the use of an unsigned data type in shmem_parse_opt_casefold() caused incorrect evaluation of negative conditions.

Fixes 58e55efd6c72 ("tmpfs: Add casefold lookup support")
Cc Christian Brauner <[email protected]>
Cc Hugh Dickens <[email protected]>
Cc Shuah khan <[email protected]>

---

 mm/shmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/shmem.c renamed from mm/shmem.c~mm-shmem-use-signed-int-for-version-handling-in-casefold-option +1 -1
@@ -4368,7 +4368,7 @@ static int shmem_parse_opt_casefold(stru
 				    bool latest_version)
 {
 	struct shmem_options *ctx = fc->fs_private;
-	unsigned int version = UTF8_LATEST;
+	int version = UTF8_LATEST;
 	struct unicode_map *encoding;
 	char *version_str = param->string + 5;
 

_

Patches currently in -mm which might be from [email protected] are