Loading fs/ubifs/super.c +10 −9 Original line number Diff line number Diff line Loading @@ -420,14 +420,14 @@ static int ubifs_sync_fs(struct super_block *sb, int wait) int i, ret = 0, err; long long bud_bytes; if (c->jheads) if (c->jheads) { for (i = 0; i < c->jhead_cnt; i++) { err = ubifs_wbuf_sync(&c->jheads[i].wbuf); if (err && !ret) ret = err; } /* Commit the journal unless it has too few data */ /* Commit the journal unless it has too little data */ spin_lock(&c->buds_lock); bud_bytes = c->bud_bytes; spin_unlock(&c->buds_lock); Loading @@ -436,6 +436,7 @@ static int ubifs_sync_fs(struct super_block *sb, int wait) if (err) return err; } } /* * We ought to call sync for c->ubi but it does not have one. If it had Loading Loading
fs/ubifs/super.c +10 −9 Original line number Diff line number Diff line Loading @@ -420,14 +420,14 @@ static int ubifs_sync_fs(struct super_block *sb, int wait) int i, ret = 0, err; long long bud_bytes; if (c->jheads) if (c->jheads) { for (i = 0; i < c->jhead_cnt; i++) { err = ubifs_wbuf_sync(&c->jheads[i].wbuf); if (err && !ret) ret = err; } /* Commit the journal unless it has too few data */ /* Commit the journal unless it has too little data */ spin_lock(&c->buds_lock); bud_bytes = c->bud_bytes; spin_unlock(&c->buds_lock); Loading @@ -436,6 +436,7 @@ static int ubifs_sync_fs(struct super_block *sb, int wait) if (err) return err; } } /* * We ought to call sync for c->ubi but it does not have one. If it had Loading