missing word
This commit is contained in:
parent
5ec2f19dc9
commit
4125c38808
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
|
* 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
|
* ends in the next sector. If the file extent ends in a more distant
|
||||||
* sector, however, the garbage collection can free the next sector
|
* sector, however, the garbage collection can free the next sector
|
||||||
* immediately without requiring page isolation.
|
* immediately without requiring page isolation.
|
||||||
|
@ -1159,6 +1159,7 @@ cfs_write(int fd, const void *buf, unsigned size)
|
||||||
cfs_offset_t bytes_left;
|
cfs_offset_t bytes_left;
|
||||||
const char dummy[1] = { 0xff };
|
const char dummy[1] = { 0xff };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(!(FD_VALID(fd) && FD_WRITABLE(fd))) {
|
if(!(FD_VALID(fd) && FD_WRITABLE(fd))) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue