summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/linux/linux/fs/buffer.c')
-rw-r--r--release/src/linux/linux/fs/buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/src/linux/linux/fs/buffer.c b/release/src/linux/linux/fs/buffer.c
index 9ec1b055..3a691eeb 100644
--- a/release/src/linux/linux/fs/buffer.c
+++ b/release/src/linux/linux/fs/buffer.c
@@ -1824,7 +1824,7 @@ out:
* We may have to extend the file.
*/
-int cont_prepare_write(struct page *page, unsigned offset, unsigned to, get_block_t *get_block, unsigned long *bytes)
+int cont_prepare_write(struct page *page, unsigned offset, unsigned to, get_block_t *get_block, loff_t *bytes)
{
struct address_space *mapping = page->mapping;
struct inode *inode = mapping->host;
@@ -2808,6 +2808,8 @@ void wakeup_bdflush(void)
wake_up_interruptible(&bdflush_wait);
}
+EXPORT_SYMBOL(wakeup_bdflush);
+
/*
* Here we attempt to write back old buffers. We also try to flush inodes
* and supers as well, since this function is essentially "update", and
@@ -3009,4 +3011,3 @@ static int __init bdflush_init(void)
}
module_init(bdflush_init)
-