Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6fcc03a in mainline


Ignore:
Timestamp:
2011-04-16T17:18:35Z (11 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
a900fb1
Parents:
e700970
Message:

Fix a bug when searching a free bit in a bitmap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_balloc.c

    re700970 r6fcc03a  
    181181
    182182        for (i = start_bit; i < bsize / sizeof(uint32_t); ++i) {
    183                 if (~b[i]) {
     183                if (!(~b[i])) {
    184184                        /*No free bit in this chunk*/
    185185                        continue;
Note: See TracChangeset for help on using the changeset viewer.