[folded-merged] xarray-extract-helper-from-__xa_insertcmpxchg-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: xarray-extract-helper-from-__xa_insertcmpxchg-fix
has been removed from the -mm tree.  Its filename was
     xarray-extract-helper-from-__xa_insertcmpxchg-fix.patch

This patch was dropped because it was folded into xarray-extract-helper-from-__xa_insertcmpxchg.patch

------------------------------------------------------
From: Tamir Duberstein <tamird@xxxxxxxxx>
Subject: xarray-extract-helper-from-__xa_insertcmpxchg-fix
Date: Wed, 4 Dec 2024 10:21:59 -0500

fix __xa_erase()

Link: https://lkml.kernel.org/r/CAJ-ks9kN_qddZ3Ne5d=cADu5POC1rHd4rQcbVSD_spnZOrLLZg@xxxxxxxxxxxxxx
Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>
Reported-by: <syzbot+092bbab7da235a02a03a@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Cc: Pavel Begunkov <asml.silence@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/xarray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/xarray.c~xarray-extract-helper-from-__xa_insertcmpxchg-fix
+++ a/lib/xarray.c
@@ -1509,7 +1509,7 @@ static void *xas_result(struct xa_state
 void *__xa_erase(struct xarray *xa, unsigned long index)
 {
 	XA_STATE(xas, xa, index);
-	return xas_result(&xas, xas_store(&xas, NULL));
+	return xas_result(&xas, xa_zero_to_null(xas_store(&xas, NULL)));
 }
 EXPORT_SYMBOL(__xa_erase);
 
_

Patches currently in -mm which might be from tamird@xxxxxxxxx are

xarray-extract-xa_zero_to_null.patch
xarray-extract-helper-from-__xa_insertcmpxchg.patch
xarray-port-tests-to-kunit.patch
checkpatch-check-return-of-git_commit_info.patch
xarray-minor-documentation-improvements.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux