Changeset c91f2d1b in mainline for uspace/lib/libblock/libblock.h


Ignore:
Timestamp:
2009-08-27T18:31:27Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd688d9
Parents:
02ee6bf5
Message:

Enable the block_get() and block_put() APIs to return error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libblock/libblock.h

    r02ee6bf5 rc91f2d1b  
    101101extern int block_cache_init(dev_handle_t, size_t, unsigned, enum cache_mode);
    102102
    103 extern block_t *block_get(dev_handle_t, bn_t, int);
    104 extern void block_put(block_t *);
     103extern int block_get(block_t **, dev_handle_t, bn_t, int);
     104extern int block_put(block_t *);
    105105
    106106extern int block_seqread(dev_handle_t, off_t *, size_t *, off_t *, void *,
Note: See TracChangeset for help on using the changeset viewer.