summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-03-26 13:37:17 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 20:56:55 +0400
commit3978d7179d3849848df8a37dd0a5acc20bcb8750 (patch)
treef6a60c588d54ffc482764e7846aabf7ba6135aa4 /include/linux/buffer_head.h
parent5f921ae96f1529a55966f25cd5c70fab11d38be7 (diff)
downloadlinux-3978d7179d3849848df8a37dd0a5acc20bcb8750.tar.xz
[PATCH] Make address_space_operations->sync_page return void
The only user ignores the return value, and the only instanace (block_sync_page) always returns 0... Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 9f159baf153f..27dd97b3fce9 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -200,7 +200,7 @@ int cont_prepare_write(struct page*, unsigned, unsigned, get_block_t*,
int generic_cont_expand(struct inode *inode, loff_t size);
int generic_cont_expand_simple(struct inode *inode, loff_t size);
int block_commit_write(struct page *page, unsigned from, unsigned to);
-int block_sync_page(struct page *);
+void block_sync_page(struct page *);
sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *);
int generic_commit_write(struct file *, struct page *, unsigned, unsigned);
int block_truncate_page(struct address_space *, loff_t, get_block_t *);