projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f103830
)
UBIFS: use ubi_sync
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Sun, 28 Dec 2008 06:18:43 +0000
(08:18 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 31 Dec 2008 12:13:24 +0000
(14:13 +0200)
UBI now has (fake for now, though) synchronization call - use
it.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/super.c
b/fs/ubifs/super.c
index ee8e7749eae199b34ca7130125d2cc5ed7f52cf2..a14703e0a9ad673732bc88892059f3e12ae7feaa 100644
(file)
--- 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)
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);
}
/**