missing word
This commit is contained in:
parent
5ec2f19dc9
commit
4125c38808
1 changed files with 2 additions and 1 deletions
3
core/cfs/cfs-coffee.c
Normal file → Executable file
3
core/cfs/cfs-coffee.c
Normal file → Executable file
|
@ -333,7 +333,7 @@ get_sector_status(uint16_t sector, struct sector_status *stats)
|
|||
|
||||
/*
|
||||
* To avoid unnecessary page isolation, we notify the callee that
|
||||
* "skip_pages" pages should be isolated only the current file extent
|
||||
* "skip_pages" pages should be isolated only if the current file extent
|
||||
* ends in the next sector. If the file extent ends in a more distant
|
||||
* sector, however, the garbage collection can free the next sector
|
||||
* immediately without requiring page isolation.
|
||||
|
@ -1159,6 +1159,7 @@ cfs_write(int fd, const void *buf, unsigned size)
|
|||
cfs_offset_t bytes_left;
|
||||
const char dummy[1] = { 0xff };
|
||||
#endif
|
||||
|
||||
if(!(FD_VALID(fd) && FD_WRITABLE(fd))) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue