Commit ad479a4b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

[XFS] make pagebuf_delwri_queue static

SGI Modid: 2.5.x-xfs:slinx:138828a
parent 2f59a55c
...@@ -119,9 +119,9 @@ pb_trace_func( ...@@ -119,9 +119,9 @@ pb_trace_func(
STATIC kmem_cache_t *pagebuf_cache; STATIC kmem_cache_t *pagebuf_cache;
STATIC void pagebuf_daemon_wakeup(int); STATIC void pagebuf_daemon_wakeup(int);
STATIC void pagebuf_delwri_queue(page_buf_t *, int);
STATIC struct workqueue_struct *pagebuf_workqueue; STATIC struct workqueue_struct *pagebuf_workqueue;
/* /*
* Pagebuf module configuration parameters, exported via * Pagebuf module configuration parameters, exported via
* /proc/sys/vm/pagebuf * /proc/sys/vm/pagebuf
...@@ -1516,7 +1516,7 @@ STATIC int pbd_active = 1; ...@@ -1516,7 +1516,7 @@ STATIC int pbd_active = 1;
STATIC LIST_HEAD(pbd_delwrite_queue); STATIC LIST_HEAD(pbd_delwrite_queue);
STATIC spinlock_t pbd_delwrite_lock = SPIN_LOCK_UNLOCKED; STATIC spinlock_t pbd_delwrite_lock = SPIN_LOCK_UNLOCKED;
void STATIC void
pagebuf_delwri_queue( pagebuf_delwri_queue(
page_buf_t *pb, page_buf_t *pb,
int unlock) int unlock)
......
...@@ -350,7 +350,6 @@ extern int pagebuf_ispin( page_buf_t *); /* check if pagebuf is pinned */ ...@@ -350,7 +350,6 @@ extern int pagebuf_ispin( page_buf_t *); /* check if pagebuf is pinned */
/* Reading and writing pages */ /* Reading and writing pages */
extern void pagebuf_delwri_queue(page_buf_t *, int);
extern void pagebuf_delwri_dequeue(page_buf_t *); extern void pagebuf_delwri_dequeue(page_buf_t *);
#define PBDF_WAIT 0x01 #define PBDF_WAIT 0x01
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment