Changeset 89dcf93 in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c


Ignore:
Timestamp:
2014-02-11T13:47:13Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83b6ba9f
Parents:
2463df9
Message:

libext4: fix regression introduced in 2038.1.7, some blocks were not marked as dirty in ext4fs_write()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/ext4fs/ext4fs_ops.c

    r2463df9 r89dcf93  
    14031403        }
    14041404       
    1405         if (flags == BLOCK_FLAGS_NOREAD) {
     1405        if (flags == BLOCK_FLAGS_NOREAD)
    14061406                memset(write_block->data, 0, block_size);
    1407                 write_block->dirty = true;
    1408         }
    14091407
    14101408        rc = async_data_write_finalize(callid, write_block->data +
     
    14141412                goto exit;
    14151413        }
     1414
     1415        write_block->dirty = true;
    14161416
    14171417        rc = block_put(write_block);
Note: See TracChangeset for help on using the changeset viewer.