set_buffer_async_read(bh);
}
-static void mark_buffer_async_write_endio(struct buffer_head *bh,
- bh_end_io_t *handler)
-{
- bh->b_end_io = handler;
- set_buffer_async_write(bh);
-}
-
void mark_buffer_async_write(struct buffer_head *bh)
{
- mark_buffer_async_write_endio(bh, end_buffer_async_write);
+ bh->b_end_io = end_buffer_async_write;
+ set_buffer_async_write(bh);
}
EXPORT_SYMBOL(mark_buffer_async_write);
continue;
}
if (test_clear_buffer_dirty(bh)) {
- mark_buffer_async_write_endio(bh,
- end_buffer_async_write);
+ mark_buffer_async_write(bh);
} else {
unlock_buffer(bh);
}
if (buffer_mapped(bh) && buffer_dirty(bh) &&
!buffer_delay(bh)) {
lock_buffer(bh);
- mark_buffer_async_write_endio(bh,
- end_buffer_async_write);
+ mark_buffer_async_write(bh);
} else {
/*
* The buffer may have been set dirty during