aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-02 21:16:54 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:19 -0400
commitc186afb4dbd0050a537b96c7fbee2dba3b57fc38 (patch)
tree4e9f43b3ba20ffbecf8440250a17e1507d53ec5f /include
parentfbb32750a62df75d1ffea547f3908b21c5496d9f (diff)
switch ->is_partially_uptodate() to saner arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/buffer_head.h4
-rw-r--r--include/linux/fs.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index d77797a52b7b..c40302f909ce 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -210,8 +210,8 @@ int block_write_full_page(struct page *page, get_block_t *get_block,
210int block_write_full_page_endio(struct page *page, get_block_t *get_block, 210int block_write_full_page_endio(struct page *page, get_block_t *get_block,
211 struct writeback_control *wbc, bh_end_io_t *handler); 211 struct writeback_control *wbc, bh_end_io_t *handler);
212int block_read_full_page(struct page*, get_block_t*); 212int block_read_full_page(struct page*, get_block_t*);
213int block_is_partially_uptodate(struct page *page, read_descriptor_t *desc, 213int block_is_partially_uptodate(struct page *page, unsigned long from,
214 unsigned long from); 214 unsigned long count);
215int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, 215int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len,
216 unsigned flags, struct page **pagep, get_block_t *get_block); 216 unsigned flags, struct page **pagep, get_block_t *get_block);
217int __block_write_begin(struct page *page, loff_t pos, unsigned len, 217int __block_write_begin(struct page *page, loff_t pos, unsigned len,
diff --git a/include/linux/fs.h b/include/linux/fs.h
index db181b542db1..ddfff2ecef0b 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -385,7 +385,7 @@ struct address_space_operations {
385 int (*migratepage) (struct address_space *, 385 int (*migratepage) (struct address_space *,
386 struct page *, struct page *, enum migrate_mode); 386 struct page *, struct page *, enum migrate_mode);
387 int (*launder_page) (struct page *); 387 int (*launder_page) (struct page *);
388 int (*is_partially_uptodate) (struct page *, read_descriptor_t *, 388 int (*is_partially_uptodate) (struct page *, unsigned long,
389 unsigned long); 389 unsigned long);
390 void (*is_dirty_writeback) (struct page *, bool *, bool *); 390 void (*is_dirty_writeback) (struct page *, bool *, bool *);
391 int (*error_remove_page)(struct address_space *, struct page *); 391 int (*error_remove_page)(struct address_space *, struct page *);