[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>
This commit is contained in:
NeilBrown
2006-03-26 01:37:17 -08:00
committed by Linus Torvalds
parent 5f921ae96f
commit 3978d7179d
4 changed files with 7 additions and 6 deletions

View File

@@ -3007,7 +3007,7 @@ out:
}
EXPORT_SYMBOL(try_to_free_buffers);
int block_sync_page(struct page *page)
void block_sync_page(struct page *page)
{
struct address_space *mapping;
@@ -3015,7 +3015,6 @@ int block_sync_page(struct page *page)
mapping = page_mapping(page);
if (mapping)
blk_run_backing_dev(mapping->backing_dev_info, page);
return 0;
}
/*