Changeset 5e0427e8 in mainline for uspace/srv/fs/minixfs/mfs_rw.c


Ignore:
Timestamp:
2011-09-06T19:27:49Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a0be34
Parents:
b5501d0
Message:

Do not read a block from the disk if we are going to rewrite it's entire content

File:
1 edited

Legend:

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

    rb5501d0 r5e0427e8  
    371371        block_t *b;
    372372
    373         r = block_get(&b, inst->service_id, zone, BLOCK_FLAGS_NONE);
     373        r = block_get(&b, inst->service_id, zone, BLOCK_FLAGS_NOREAD);
    374374        if (r != EOK)
    375375                return r;
Note: See TracChangeset for help on using the changeset viewer.