aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/super.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index ee8e7749eae1..a14703e0a9ad 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -466,12 +466,7 @@ static int ubifs_sync_fs(struct super_block *sb, int wait)
466 if (err) 466 if (err)
467 return err; 467 return err;
468 468
469 /* 469 return ubi_sync(c->vi.ubi_num);
470 * We ought to call sync for c->ubi but it does not have one. If it had
471 * it would in turn call mtd->sync, however mtd operations are
472 * synchronous anyway, so we don't lose any sleep here.
473 */
474 return err;
475} 470}
476 471
477/** 472/**