diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-10-07 01:19:48 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-10-22 20:24:39 -0400 |
commit | 026a7d63d55ba8656ed8c8a0733265cc7d47bb8c (patch) | |
tree | 094f32e7aec1c514153b880ce1c6ef4f700fe481 /fs/nilfs2/mdt.c | |
parent | c486f3895d6dc751f7c0f04f0fa67390ce4d168e (diff) |
nilfs2: get rid of bdi from nilfs object
Nilfs now can use sb->s_bdi to get backing_dev_info, so we use it
instead of ns_bdi on the nilfs object and remove ns_bdi.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/mdt.c')
-rw-r--r-- | fs/nilfs2/mdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c index d60fdb097d52..39a5b84e2c9f 100644 --- a/fs/nilfs2/mdt.c +++ b/fs/nilfs2/mdt.c | |||
@@ -457,7 +457,7 @@ int nilfs_mdt_setup_shadow_map(struct inode *inode, | |||
457 | struct nilfs_shadow_map *shadow) | 457 | struct nilfs_shadow_map *shadow) |
458 | { | 458 | { |
459 | struct nilfs_mdt_info *mi = NILFS_MDT(inode); | 459 | struct nilfs_mdt_info *mi = NILFS_MDT(inode); |
460 | struct backing_dev_info *bdi = NILFS_I_NILFS(inode)->ns_bdi; | 460 | struct backing_dev_info *bdi = inode->i_sb->s_bdi; |
461 | 461 | ||
462 | INIT_LIST_HEAD(&shadow->frozen_buffers); | 462 | INIT_LIST_HEAD(&shadow->frozen_buffers); |
463 | nilfs_mapping_init_once(&shadow->frozen_data); | 463 | nilfs_mapping_init_once(&shadow->frozen_data); |