Changeset 521550d in mainline
- Timestamp:
- 2011-08-15T18:09:32Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b289005
- Parents:
- e8976b59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_directory.c
re8976b59 r521550d 43 43 #include <mem.h> 44 44 #include <str.h> 45 #include <align.h> 45 46 46 47 int fat_directory_block_load(fat_directory_t *); … … 55 56 56 57 di->bs = block_bb_get(di->nodep->idx->devmap_handle); 57 di->blocks = di->nodep->size /BPS(di->bs);58 di->blocks = ROUND_UP(nodep->size, BPS(di->bs))/BPS(di->bs); 58 59 di->pos = 0; 59 60 di->bnum = 0;
Note:
See TracChangeset
for help on using the changeset viewer.