Commit d731e063 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

nilfs2: call nilfs2_write_super from nilfs2_sync_fs

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: default avatarChristoph Hellwig <>
Signed-off-by: default avatarAl Viro <>
parent d579ed00
......@@ -391,6 +391,8 @@ static int nilfs_sync_fs(struct super_block *sb, int wait)
int err = 0;
/* This function is called when super block should be written back */
if (wait)
err = nilfs_construct_segment(sb);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment