From 4aca87515a5083ae0e31ce3177189fd43b6d05ac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 3 Jan 2015 13:58:15 +0100 Subject: patch to Vanilla Tomato 1.28 --- release/src/linux/linux/fs/buffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'release/src/linux/linux/fs/buffer.c') 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) - -- cgit v1.2.3-54-g00ecf