aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/buffer_head.h5
-rw-r--r--include/linux/fs.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index a562ecfb1a14..1caa71d4c95f 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -214,8 +214,9 @@ int generic_write_end(struct file *, struct address_space *,
214 struct page *, void *); 214 struct page *, void *);
215void page_zero_new_buffers(struct page *page, unsigned from, unsigned to); 215void page_zero_new_buffers(struct page *page, unsigned from, unsigned to);
216int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*); 216int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*);
217int cont_prepare_write(struct page*, unsigned, unsigned, get_block_t*, 217int cont_write_begin(struct file *, struct address_space *, loff_t,
218 loff_t *); 218 unsigned, unsigned, struct page **, void **,
219 get_block_t *, loff_t *);
219int generic_cont_expand(struct inode *inode, loff_t size); 220int generic_cont_expand(struct inode *inode, loff_t size);
220int generic_cont_expand_simple(struct inode *inode, loff_t size); 221int generic_cont_expand_simple(struct inode *inode, loff_t size);
221int block_commit_write(struct page *page, unsigned from, unsigned to); 222int block_commit_write(struct page *page, unsigned from, unsigned to);
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e9344e6f877d..a40557eae2ed 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -395,6 +395,7 @@ enum positive_aop_returns {
395}; 395};
396 396
397#define AOP_FLAG_UNINTERRUPTIBLE 0x0001 /* will not do a short write */ 397#define AOP_FLAG_UNINTERRUPTIBLE 0x0001 /* will not do a short write */
398#define AOP_FLAG_CONT_EXPAND 0x0002 /* called from cont_expand */
398 399
399/* 400/*
400 * oh the beauties of C type declarations. 401 * oh the beauties of C type declarations.