1.1 --- a/libe2access/lib/src/image.c Sun Oct 23 01:11:56 2022 +0200
1.2 +++ b/libe2access/lib/src/image.c Sun Oct 23 21:53:01 2022 +0200
1.3 @@ -604,12 +604,7 @@
1.4 unlinking by inode could just cause the file to disappear from the
1.5 catalogue. */
1.6
1.7 - retval = image_unlink_by_name(fs, source_parent, source_basename);
1.8 -
1.9 - if (retval)
1.10 - return retval;
1.11 -
1.12 - return ext2fs_flush2(fs, 0);
1.13 + return image_unlink_by_name(fs, source_parent, source_basename);
1.14 }
1.15
1.16 /* Set the mode, user and group metadata for a file. */