diff options
author | NeilBrown <neilb@suse.de> | 2006-03-26 04:37:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:56:55 -0500 |
commit | 3978d7179d3849848df8a37dd0a5acc20bcb8750 (patch) | |
tree | f6a60c588d54ffc482764e7846aabf7ba6135aa4 /fs/buffer.c | |
parent | 5f921ae96f1529a55966f25cd5c70fab11d38be7 (diff) |
[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 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 3b3ab5281920..0b9456fd074f 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3007,7 +3007,7 @@ out: | |||
3007 | } | 3007 | } |
3008 | EXPORT_SYMBOL(try_to_free_buffers); | 3008 | EXPORT_SYMBOL(try_to_free_buffers); |
3009 | 3009 | ||
3010 | int block_sync_page(struct page *page) | 3010 | void block_sync_page(struct page *page) |
3011 | { | 3011 | { |
3012 | struct address_space *mapping; | 3012 | struct address_space *mapping; |
3013 | 3013 | ||
@@ -3015,7 +3015,6 @@ int block_sync_page(struct page *page) | |||
3015 | mapping = page_mapping(page); | 3015 | mapping = page_mapping(page); |
3016 | if (mapping) | 3016 | if (mapping) |
3017 | blk_run_backing_dev(mapping->backing_dev_info, page); | 3017 | blk_run_backing_dev(mapping->backing_dev_info, page); |
3018 | return 0; | ||
3019 | } | 3018 | } |
3020 | 3019 | ||
3021 | /* | 3020 | /* |