Changes in uspace/srv/fs/fat/fat_fat.c [1e4cada:50f9c3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r1e4cada r50f9c3a 46 46 #include <align.h> 47 47 #include <assert.h> 48 #include <fibril_sync h.h>48 #include <fibril_sync.h> 49 49 #include <mem.h> 50 50 … … 398 398 * from the size of the file allocation table. 399 399 */ 400 if ((cl - 2) * bs->spc + ssa >= ts) {400 if ((cl >= 2) && ((cl - 2) * bs->spc + ssa >= ts)) { 401 401 rc = block_put(blk); 402 402 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.