Changes in uspace/lib/libblock/libblock.h [cd688d9:6408be3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.h
rcd688d9 r6408be3 69 69 /** If true, the block needs to be written back to the block device. */ 70 70 bool dirty; 71 /** If true, the blcok does not contain valid data. */72 bool toxic;73 71 /** Readers / Writer lock protecting the contents of the block. */ 74 72 fibril_rwlock_t contents_lock; … … 103 101 extern int block_cache_init(dev_handle_t, size_t, unsigned, enum cache_mode); 104 102 105 extern int block_get(block_t **,dev_handle_t, bn_t, int);106 extern intblock_put(block_t *);103 extern block_t *block_get(dev_handle_t, bn_t, int); 104 extern void block_put(block_t *); 107 105 108 106 extern int block_seqread(dev_handle_t, off_t *, size_t *, off_t *, void *,
Note:
See TracChangeset
for help on using the changeset viewer.