Changeset cd688d9 in mainline


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

Add the 'toxic' member to block_t.

Location:
uspace/lib/libblock
Files:
2 edited

Legend:

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

    rc91f2d1b rcd688d9  
    306306        b->refcnt = 1;
    307307        b->dirty = false;
     308        b->toxic = false;
    308309        fibril_rwlock_initialize(&b->contents_lock);
    309310        link_initialize(&b->free_link);
  • uspace/lib/libblock/libblock.h

    rc91f2d1b rcd688d9  
    6969        /** If true, the block needs to be written back to the block device. */
    7070        bool dirty;
     71        /** If true, the blcok does not contain valid data. */
     72        bool toxic;
    7173        /** Readers / Writer lock protecting the contents of the block. */
    7274        fibril_rwlock_t contents_lock;
Note: See TracChangeset for help on using the changeset viewer.