projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d579ed0
)
nilfs2: call nilfs2_write_super from nilfs2_sync_fs
author
Christoph Hellwig
<hch@lst.de>
Mon, 8 Jun 2009 08:08:36 +0000
(10:08 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:17 +0000
(21:36 -0400)
The call to ->write_super from __sync_filesystem will go away, so make
sure nilfs2 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/nilfs2/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nilfs2/super.c
b/fs/nilfs2/super.c
index 11151eaa2c4a2de3f2deb4797a0bc81177100efb..122dc1e489fb2ccecc3acb3bd8dd4bebc7cf3b11 100644
(file)
--- a/
fs/nilfs2/super.c
+++ b/
fs/nilfs2/super.c
@@
-391,6
+391,8
@@
static int nilfs_sync_fs(struct super_block *sb, int wait)
{
int err = 0;
+ nilfs_write_super(sb);
+
/* This function is called when super block should be written back */
if (wait)
err = nilfs_construct_segment(sb);