Rev 4549 | Rev 4553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4549 | Rev 4550 | ||
|---|---|---|---|
| Line 391... | Line 391... | ||
| 391 | if (!(flags & BLOCK_FLAGS_NOREAD)) { |
391 | if (!(flags & BLOCK_FLAGS_NOREAD)) { |
| 392 | /* |
392 | /* |
| 393 | * The block contains old or no data. We need to read |
393 | * The block contains old or no data. We need to read |
| 394 | * the new contents from the device. |
394 | * the new contents from the device. |
| 395 | */ |
395 | */ |
| - | 396 | async_serialize_start(); |
|
| 396 | rc = block_read(dev_handle, &bufpos, &buflen, &pos, |
397 | rc = block_read(dev_handle, &bufpos, &buflen, &pos, |
| 397 | b->data, cache->block_size, cache->block_size); |
398 | b->data, cache->block_size, cache->block_size); |
| - | 399 | async_serialize_end(); |
|
| 398 | assert(rc == EOK); |
400 | assert(rc == EOK); |
| 399 | } |
401 | } |
| 400 | 402 | ||
| 401 | futex_up(&b->lock); |
403 | futex_up(&b->lock); |
| 402 | } |
404 | } |