Changes in uspace/lib/block/block.c [7354b5e:f9b2cb4c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
r7354b5e rf9b2cb4c 51 51 #include <malloc.h> 52 52 #include <stdio.h> 53 #include <sys/typefmt.h> 53 54 #include <stacktrace.h> 54 #include <offset.h>55 #include <inttypes.h>56 55 #include "block.h" 57 56 … … 789 788 } 790 789 791 /** Synchronize blocks to persistent storage.792 *793 * @param service_id Service ID of the block device.794 * @param ba Address of first block (physical).795 * @param cnt Number of blocks.796 *797 * @return EOK on success or negative error code on failure.798 */799 int block_sync_cache(service_id_t service_id, aoff64_t ba, size_t cnt)800 {801 devcon_t *devcon;802 803 devcon = devcon_search(service_id);804 assert(devcon);805 806 return bd_sync_cache(devcon->bd, ba, cnt);807 }808 809 790 /** Get device block size. 810 791 *
Note:
See TracChangeset
for help on using the changeset viewer.