* [folded-merged] lib-xarray-introduce-a-new-helper-xas_get_order-v4.patch removed from -mm tree
@ 2024-04-26 3:23 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-04-26 3:23 UTC (permalink / raw)
To: mm-commits, willy, kasong, akpm
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@tencent.com>
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@gmail.com
Signed-off-by: Kairui Song <kasong@tencent.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@tencent.com 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-26 3:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26 3:23 [folded-merged] lib-xarray-introduce-a-new-helper-xas_get_order-v4.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.