Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
current implementation of open file when opened in O_WRONLY will trun…
…cate the file to zero. This is incorrect behaviour. We don't see it in the normal scenario as write-back cache is on by default. Hence all the open calls with O_WRONLY will be redirected O_RDWR. To simulate this turn of the write-back cache and then open file in O_WRONLY.
- Loading branch information