This commit is contained in:
Sebastian Messmer 2014-11-10 23:51:45 +01:00
parent 6b8c205916
commit f86db75948
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ int CryFuse::access(const path &path, int mask) {
int CryFuse::create(const path &path, mode_t mode, fuse_file_info *fileinfo) {
//printf("create(%s, %d, _)\n", path.c_str(), mode);
try {
fileinfo->fh = _device->createFile(path, mode);
fileinfo->fh = _device->createAndOpenFile(path, mode);
return 0;
} catch (CryErrnoException &e) {
return -e.getErrno();