Changeset 52ee8b7a in mainline


Ignore:
Timestamp:
2011-06-11T19:23:22Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a819535
Parents:
cefd3ec
Message:

Small fix: store fetched block number in bnum field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_directory.c

    rcefd3ec r52ee8b7a  
    8787                if (!di->b) {
    8888                        rc = fat_block_get(&di->b, di->bs, di->nodep, i, BLOCK_FLAGS_NONE);
    89                         if (rc != EOK)
     89                        if (rc != EOK) {
     90                                di->b = NULL:
    9091                                return rc;
     92                        }
     93                        di->bnum = i;
    9194                }
    9295                aoff64_t o = di->pos % (BPS(di->bs) / sizeof(fat_dentry_t));
Note: See TracChangeset for help on using the changeset viewer.