[folded-merged] lib-xarray-introduce-a-new-helper-xas_get_order-v4.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: lib/xarray: introduce a new helper xas_get_order
has been removed from the -mm tree.  Its filename was
     lib-xarray-introduce-a-new-helper-xas_get_order-v4.patch

This patch was dropped because it was folded into lib-xarray-introduce-a-new-helper-xas_get_order.patch

------------------------------------------------------
From: Kairui Song <kasong@xxxxxxxxxxx>
Subject: lib/xarray: introduce a new helper xas_get_order
Date: Tue, 16 Apr 2024 15:17:21 +0800

simplify comment, sparse warning fix, per Matthew Wilcox

Link: https://lkml.kernel.org/r/20240416071722.45997-4-ryncsn@xxxxxxxxx
Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>
Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/xarray.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/lib/xarray.c~lib-xarray-introduce-a-new-helper-xas_get_order-v4
+++ a/lib/xarray.c
@@ -1750,7 +1750,7 @@ unlock:
 EXPORT_SYMBOL(xa_store_range);
 
 /**
- * xas_get_order() - Get the order of an loaded entry after xas_load.
+ * xas_get_order() - Get the order of an entry.
  * @xas: XArray operation state.
  *
  * Called after xas_load, the xas should not be in an error state.
@@ -1769,7 +1769,7 @@ int xas_get_order(struct xa_state *xas)
 
 		if (slot >= XA_CHUNK_SIZE)
 			break;
-		if (!xa_is_sibling(xas->xa_node->slots[slot]))
+		if (!xa_is_sibling(xa_entry(xas->xa, xas->xa_node, slot)))
 			break;
 		order++;
 	}
_

Patches currently in -mm which might be from kasong@xxxxxxxxxxx are

mm-filemap-return-early-if-failed-to-allocate-memory-for-split.patch
mm-filemap-clean-up-hugetlb-exclusion-code.patch
lib-xarray-introduce-a-new-helper-xas_get_order.patch
mm-filemap-optimize-filemap-folio-adding.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