OSDN Git Service

Add missing node flush on utimens().
authorrelan <relan@users.noreply.github.com>
Tue, 22 Apr 2014 17:41:57 +0000 (17:41 +0000)
committerrelan <relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:16 +0000 (08:26 +0300)
Signed-off-by: Helg Bredow <xx404@msn.com>
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)