Commit ec5d66ab authored by Jiro SEKIBA's avatar Jiro SEKIBA Committed by Ryusuke Konishi
Browse files

nilfs2: remove redundant super block commit

This removes redundant super block commit.

nilfs_write_super will call nilfs_commit_super to store super block
into block device.  However, nilfs_put_super will call
nilfs_commit_super right after calling nilfs_write_super.  So calling
nilfs_write_super in nilfs_put_super would be redundant.
Signed-off-by: default avatarJiro SEKIBA <>
Signed-off-by: default avatarRyusuke Konishi <>
parent b58a285b
......@@ -313,9 +313,6 @@ static void nilfs_put_super(struct super_block *sb)
if (sb->s_dirt)
if (!(sb->s_flags & MS_RDONLY)) {
Markdown is supported
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