shithub: lwext4

Download patch

ref: eff7979fabc6c95f480ca0d2e116f16e2f334ee4
parent: 7ac488fd8773ac1a56b4aa4d3239334ba9e6cf88
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Jun 19 08:55:28 EDT 2014

Fixed inode deletion time fsck warning.

--- a/lwext4/ext4.c
+++ b/lwext4/ext4.c
@@ -298,8 +298,7 @@
      * ext4_inode_set_change_inode_time(child_inode_ref->inode,
      *     (uint32_t) now);
      */
-
-    ext4_inode_set_deletion_time(child_inode_ref->inode, 1);
+    ext4_inode_set_deletion_time(child_inode_ref->inode, 0xFFFFFFFF);
     ext4_inode_set_links_count(child_inode_ref->inode, lnk_count);
     child_inode_ref->dirty = true;