OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c80065
)
jffs2: call jffs2_write_super from jffs2_sync_fs
author
Christoph Hellwig
<hch@lst.de>
Mon, 8 Jun 2009 08:08:21 +0000
(10:08 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:16 +0000
(21:36 -0400)
The call to ->write_super from __sync_filesystem will go away, so make
sure jffs2 performs the same actions from inside ->sync_fs.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jffs2/super.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/super.c
b/fs/jffs2/super.c
index
f7bfd3a
..
07a22ca
100644
(file)
--- a/
fs/jffs2/super.c
+++ b/
fs/jffs2/super.c
@@
-74,6
+74,8
@@
static int jffs2_sync_fs(struct super_block *sb, int wait)
{
struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
+ jffs2_write_super(sb);
+
mutex_lock(&c->alloc_sem);
jffs2_flush_wbuf_pad(c);
mutex_unlock(&c->alloc_sem);