diff options
Diffstat (limited to 'lib/libf2fs.c')
-rw-r--r-- | lib/libf2fs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/libf2fs.c b/lib/libf2fs.c index 8d6c670..6168c5c 100644 --- a/lib/libf2fs.c +++ b/lib/libf2fs.c @@ -493,15 +493,3 @@ int f2fs_get_device_info(struct f2fs_configuration *c) return 0; } -void f2fs_finalize_device(struct f2fs_configuration *c) -{ - /* - * We should call fsync() to flush out all the dirty pages - * in the block device page cache. - */ - if (fsync(c->fd) < 0) - MSG(0, "\tError: Could not conduct fsync!!!\n"); - - if (close(c->fd) < 0) - MSG(0, "\tError: Failed to close device file!!!\n"); -} |