There is no reason to write out the metadata inodes or volume headers
during a non-blocking sync, as we are almost guaranteed to dirty them
again during the inode writeouts.
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
int write_backup = 0;
int error, error2;
int write_backup = 0;
int error, error2;
+ if (!wait)
+ return 0;
+
dprint(DBG_SUPER, "hfsplus_write_super\n");
sb->s_dirt = 0;
dprint(DBG_SUPER, "hfsplus_write_super\n");
sb->s_dirt = 0;