Patch "maple_tree: relocate the declaration of mas_empty_area_rev()." has been added to the 6.1-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    maple_tree: relocate the declaration of mas_empty_area_rev().

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     maple_tree-relocate-the-declaration-of-mas_empty_are.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2c6b47348d1fd76c15dc3f4068829747a550419a
Author: Peng Zhang <zhangpeng.00@xxxxxxxxxxxxx>
Date:   Wed May 24 11:12:47 2023 +0800

    maple_tree: relocate the declaration of mas_empty_area_rev().
    
    [ Upstream commit 06b27ce36a1a3dc5ea6f8314d0c7d1baa9f8ece7 ]
    
    Relocate the declaration of mas_empty_area_rev() so that mas_empty_area()
    and mas_empty_area_rev() are together.
    
    Link: https://lkml.kernel.org/r/20230524031247.65949-11-zhangpeng.00@xxxxxxxxxxxxx
    Signed-off-by: Peng Zhang <zhangpeng.00@xxxxxxxxxxxxx>
    Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Stable-dep-of: 5c590804b6b0 ("maple_tree: add mas_is_active() to detect in-tree walks")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 1a424edb71a65..443dec917ec64 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -469,6 +469,12 @@ void *mas_next(struct ma_state *mas, unsigned long max);
 
 int mas_empty_area(struct ma_state *mas, unsigned long min, unsigned long max,
 		   unsigned long size);
+/*
+ * This finds an empty area from the highest address to the lowest.
+ * AKA "Topdown" version,
+ */
+int mas_empty_area_rev(struct ma_state *mas, unsigned long min,
+		       unsigned long max, unsigned long size);
 
 /* Checks if a mas has not found anything */
 static inline bool mas_is_none(struct ma_state *mas)
@@ -482,12 +488,6 @@ static inline bool mas_is_paused(struct ma_state *mas)
 	return mas->node == MAS_PAUSE;
 }
 
-/*
- * This finds an empty area from the highest address to the lowest.
- * AKA "Topdown" version,
- */
-int mas_empty_area_rev(struct ma_state *mas, unsigned long min,
-		       unsigned long max, unsigned long size);
 /**
  * mas_reset() - Reset a Maple Tree operation state.
  * @mas: Maple Tree operation state.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux