OSDN Git Service

Added missing node flush on utimens().
[android-x86/external-exfat.git] / fuse / main.c
index 825fa19..fddbfdf 100644 (file)
@@ -274,8 +274,9 @@ static int fuse_exfat_utimens(const char* path, const struct timespec tv[2])
                return rc;
 
        exfat_utimes(node, tv);
+       rc = exfat_flush_node(&ef, node);
        exfat_put_node(&ef, node);
-       return 0;
+       return rc;
 }
 
 static int fuse_exfat_chmod(const char* path, mode_t mode)