diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-12 12:25:41 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-19 20:05:48 -0500 |
commit | fd66c0d5c377ee8146909d0eb9258539e4b0f293 (patch) | |
tree | 7fefab4c3108aff9d18943a17cd3522a53bdc3bd /fs/nilfs2/super.c | |
parent | 3961f0e2775f84a8f81b0dcddb0b356ebfe0696b (diff) |
nilfs2: hide nilfs_mdt_clear calls in nilfs_mdt_destroy
This will hide a function call of nilfs_mdt_clear() in
nilfs_mdt_destroy().
This ensures nilfs_mdt_destroy() to do cleanup jobs included in
nilfs_mdt_clear().
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r-- | fs/nilfs2/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 05ae52a482c6..f52616977ea0 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -407,7 +407,6 @@ void nilfs_detach_checkpoint(struct nilfs_sb_info *sbi) | |||
407 | { | 407 | { |
408 | struct the_nilfs *nilfs = sbi->s_nilfs; | 408 | struct the_nilfs *nilfs = sbi->s_nilfs; |
409 | 409 | ||
410 | nilfs_mdt_clear(sbi->s_ifile); | ||
411 | nilfs_mdt_destroy(sbi->s_ifile); | 410 | nilfs_mdt_destroy(sbi->s_ifile); |
412 | sbi->s_ifile = NULL; | 411 | sbi->s_ifile = NULL; |
413 | down_write(&nilfs->ns_super_sem); | 412 | down_write(&nilfs->ns_super_sem); |