summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-17 03:27:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-17 03:27:06 -0700
commit01d86f023be81c6b96cca5a3db2383469b0e7a41 (patch)
treec7ec3dd3972f10a5437200abd2974a92f8713101 /include/linux/buffer_head.h
parentcba16655c63f8ed2f6d308d423ce0ce47b91c892 (diff)
[PATCH] kill submit_{bh,bio} return value
From: Jeff Garzik <jgarzik@pobox.com> Nobody ever checks the return value of submit_bh(), and submit_bh() is the only caller that checks the submit_bio() return value. This changes the kernel I/O submission path -- a fast path -- so this cleanup is also a microoptimization.
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 110584f07883..afe2d3ad1e4e 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -177,7 +177,7 @@ void free_buffer_head(struct buffer_head * bh);
void FASTCALL(unlock_buffer(struct buffer_head *bh));
void ll_rw_block(int, int, struct buffer_head * bh[]);
void sync_dirty_buffer(struct buffer_head *bh);
-int submit_bh(int, struct buffer_head *);
+void submit_bh(int, struct buffer_head *);
void write_boundary_block(struct block_device *bdev,
sector_t bblock, unsigned blocksize);