From ad479a4b7a5869ad0eb7192ac8fa36f7d20020b8 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 19 Feb 2003 20:17:59 +0100 Subject: [PATCH] [XFS] make pagebuf_delwri_queue static SGI Modid: 2.5.x-xfs:slinx:138828a --- fs/xfs/pagebuf/page_buf.c | 4 ++-- fs/xfs/pagebuf/page_buf.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/xfs/pagebuf/page_buf.c b/fs/xfs/pagebuf/page_buf.c index 5663f6d4b430d..8284292cc5d6f 100644 --- a/fs/xfs/pagebuf/page_buf.c +++ b/fs/xfs/pagebuf/page_buf.c @@ -119,9 +119,9 @@ pb_trace_func( STATIC kmem_cache_t *pagebuf_cache; STATIC void pagebuf_daemon_wakeup(int); +STATIC void pagebuf_delwri_queue(page_buf_t *, int); STATIC struct workqueue_struct *pagebuf_workqueue; - /* * Pagebuf module configuration parameters, exported via * /proc/sys/vm/pagebuf @@ -1516,7 +1516,7 @@ STATIC int pbd_active = 1; STATIC LIST_HEAD(pbd_delwrite_queue); STATIC spinlock_t pbd_delwrite_lock = SPIN_LOCK_UNLOCKED; -void +STATIC void pagebuf_delwri_queue( page_buf_t *pb, int unlock) diff --git a/fs/xfs/pagebuf/page_buf.h b/fs/xfs/pagebuf/page_buf.h index 65fb68dccceb5..451a97d2f79b2 100644 --- a/fs/xfs/pagebuf/page_buf.h +++ b/fs/xfs/pagebuf/page_buf.h @@ -350,7 +350,6 @@ extern int pagebuf_ispin( page_buf_t *); /* check if pagebuf is pinned */ /* Reading and writing pages */ -extern void pagebuf_delwri_queue(page_buf_t *, int); extern void pagebuf_delwri_dequeue(page_buf_t *); #define PBDF_WAIT 0x01 -- 2.53.0