summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r--fs/hfsplus/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index df6bea0..56e6cf8 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -160,6 +160,9 @@ int hfsplus_sync_fs(struct super_block *sb, int wait)
int write_backup = 0;
int error, error2;
+ if (!wait)
+ return 0;
+
dprint(DBG_SUPER, "hfsplus_write_super\n");
sb->s_dirt = 0;
OpenPOWER on IntegriCloud