OSDN Git Service

mm/filemap: make folio_put_wait_locked static
authorKe Sun <sunke@kylinos.cn>
Wed, 14 Sep 2022 02:17:38 +0000 (10:17 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:15 +0000 (14:03 -0700)
commitc195c3215741746b1eb7ab7980b926ddc37a4be3
treee223606e57a07df32b2a9360043a5db39ad3ecaf
parenta4a00b451ef5e1deb959088e25e248f4ee399792
mm/filemap: make folio_put_wait_locked static

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@kylinos.cn
Signed-off-by: Ke Sun <sunke@kylinos.cn>
Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagemap.h
mm/filemap.c