20 months ago | Paul Boddie | raw files shortlog changelog graph | Removed superfluous flush operation. | |
libfsserver/lib/files/ext2_file_operations.cc (file) |
1.1 --- a/libfsserver/lib/files/ext2_file_operations.cc Thu Oct 20 23:06:31 2022 +0200 1.2 +++ b/libfsserver/lib/files/ext2_file_operations.cc Thu Oct 20 23:06:59 2022 +0200 1.3 @@ -79,7 +79,8 @@ 1.4 { 1.5 std::lock_guard<std::mutex> guard(_lock); 1.6 1.7 - ext2fs_file_flush(file); 1.8 + /* ext2fs_file_flush is called within the close function. */ 1.9 + 1.10 ext2fs_file_close(file); 1.11 } 1.12