mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
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: Jiro SEKIBA <jir@unicus.jp> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
parent
b58a285ba4
commit
ec5d66abdb
1 changed files with 0 additions and 3 deletions
|
@ -313,9 +313,6 @@ static void nilfs_put_super(struct super_block *sb)
|
|||
|
||||
lock_kernel();
|
||||
|
||||
if (sb->s_dirt)
|
||||
nilfs_write_super(sb);
|
||||
|
||||
nilfs_detach_segment_constructor(sbi);
|
||||
|
||||
if (!(sb->s_flags & MS_RDONLY)) {
|
||||
|
|
Loading…
Reference in a new issue