Changeset 80ec9b8 in mainline


Ignore:
Timestamp:
2011-12-11T16:12:58Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63bcbbc, e738d56
Parents:
1776895
Message:

exfat: exfat_create_node(), set the content of the first cluster of new dirs to zero, failure
to do so will corrupt the exfat filesystem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_ops.c

    r1776895 r80ec9b8  
    657657                        return rc;
    658658                }
     659
     660                rc = exfat_zero_cluster(bs, service_id, nodep->firstc);
     661                if (rc != EOK) {
     662                        (void) exfat_node_put(FS_NODE(nodep));
     663                        return rc;
     664                }
     665
    659666                nodep->size = BPC(bs);
    660667        } else {
Note: See TracChangeset for help on using the changeset viewer.