Changeset 6fc5262 in mainline


Ignore:
Timestamp:
2011-04-16T11:55:19Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e700970
Parents:
488f7ed
Message:

Fix sparse file reading (the returned block must be zero-filled)

File:
1 edited

Legend:

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

    r488f7ed r6fc5262  
    673673                                goto out_error;
    674674                        }
     675                        memset(buf, 0, sizeof(sbi->block_size));
    675676                        async_data_read_finalize(callid,
    676677                            buf + pos % sbi->block_size, bytes);
Note: See TracChangeset for help on using the changeset viewer.