From 40cf8ef527cb143522ef5db69611e3854509b346 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 28 Dec 2008 08:18:43 +0200 Subject: [PATCH] --- yaml --- r: 125472 b: refs/heads/master c: cb5c6a2b2be59b480a3746c5113cb3411c053bff h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ubifs/super.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 439e32afcdd3..bd6da8bf4639 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f10383006c26b33539820759b9dc8656497b02a4 +refs/heads/master: cb5c6a2b2be59b480a3746c5113cb3411c053bff diff --git a/trunk/fs/ubifs/super.c b/trunk/fs/ubifs/super.c index ee8e7749eae1..a14703e0a9ad 100644 --- a/trunk/fs/ubifs/super.c +++ b/trunk/fs/ubifs/super.c @@ -466,12 +466,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 - * it would in turn call mtd->sync, however mtd operations are - * synchronous anyway, so we don't lose any sleep here. - */ - return err; + return ubi_sync(c->vi.ubi_num); } /**