summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2003-02-19 20:17:59 +0100
committerChristoph Hellwig <hch@lab343.munich.sgi.com>2003-02-19 20:17:59 +0100
commitad479a4b7a5869ad0eb7192ac8fa36f7d20020b8 (patch)
treeb51c7d590910a40e40942ca32e279b0671500642
parent2f59a55cc1fefa16875dafe2a2933c5fd2ec27ca (diff)
[XFS] make pagebuf_delwri_queue static
SGI Modid: 2.5.x-xfs:slinx:138828a
-rw-r--r--fs/xfs/pagebuf/page_buf.c4
-rw-r--r--fs/xfs/pagebuf/page_buf.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/pagebuf/page_buf.c b/fs/xfs/pagebuf/page_buf.c
index 5663f6d4b430..8284292cc5d6 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 65fb68dccceb..451a97d2f79b 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