Loading disorderfs.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -477,7 +477,8 @@ int main (int argc, char** argv) }; disorderfs_fuse_operations.fsyncdir = [] (const char* path, int is_datasync, struct fuse_file_info* info) -> int { // XXX: is it OK to just use fsync? Not clear on why FUSE has a separate fsyncdir operation return wrap(is_datasync ? fdatasync(info->fh) : fsync(info->fh)); wrap(is_datasync ? fdatasync(info->fh) : fsync(info->fh)); return 0; // return value is ignored }; disorderfs_fuse_operations.create = [] (const char* path, mode_t mode, struct fuse_file_info* info) -> int { Guard g; Loading Loading
disorderfs.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -477,7 +477,8 @@ int main (int argc, char** argv) }; disorderfs_fuse_operations.fsyncdir = [] (const char* path, int is_datasync, struct fuse_file_info* info) -> int { // XXX: is it OK to just use fsync? Not clear on why FUSE has a separate fsyncdir operation return wrap(is_datasync ? fdatasync(info->fh) : fsync(info->fh)); wrap(is_datasync ? fdatasync(info->fh) : fsync(info->fh)); return 0; // return value is ignored }; disorderfs_fuse_operations.create = [] (const char* path, mode_t mode, struct fuse_file_info* info) -> int { Guard g; Loading