[merged mm-stable] mm-filemap-make-folio_put_wait_locked-static.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: mm/filemap: make folio_put_wait_locked static
has been removed from the -mm tree.  Its filename was
     mm-filemap-make-folio_put_wait_locked-static.patch

This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Ke Sun <sunke@xxxxxxxxxx>
Subject: mm/filemap: make folio_put_wait_locked static
Date: Wed, 14 Sep 2022 10:17:38 +0800

It's only used in mm/filemap.c, since commit <ffa65753c431>
("mm/migrate.c: rework migration_entry_wait() to not take a pageref").

Make it static.

Link: https://lkml.kernel.org/r/20220914021738.3228011-1-sunke@xxxxxxxxxx
Signed-off-by: Ke Sun <sunke@xxxxxxxxxx>
Reported-by: k2ci <kernel-bot@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/pagemap.h |    1 -
 mm/filemap.c            |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

--- a/include/linux/pagemap.h~mm-filemap-make-folio_put_wait_locked-static
+++ a/include/linux/pagemap.h
@@ -1039,7 +1039,6 @@ static inline int wait_on_page_locked_ki
 	return folio_wait_locked_killable(page_folio(page));
 }
 
-int folio_put_wait_locked(struct folio *folio, int state);
 void wait_on_page_writeback(struct page *page);
 void folio_wait_writeback(struct folio *folio);
 int folio_wait_writeback_killable(struct folio *folio);
--- a/mm/filemap.c~mm-filemap-make-folio_put_wait_locked-static
+++ a/mm/filemap.c
@@ -1460,7 +1460,7 @@ EXPORT_SYMBOL(folio_wait_bit_killable);
  *
  * Return: 0 if the folio was unlocked or -EINTR if interrupted by a signal.
  */
-int folio_put_wait_locked(struct folio *folio, int state)
+static int folio_put_wait_locked(struct folio *folio, int state)
 {
 	return folio_wait_bit_common(folio, PG_locked, state, DROP);
 }
_

Patches currently in -mm which might be from sunke@xxxxxxxxxx are





[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