nilfs2: use device's backing_dev_info for btree node caches

Previously, default_backing_dev_info was used for the mapping of btree
node caches.  This uses device dependent backing_dev_info to allow
detailed control of the device for the btree node pages.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
Ryusuke Konishi
2009-05-27 22:11:46 +09:00
parent 30c25be71f
commit a53b4751ae
5 changed files with 13 additions and 6 deletions

View File

@@ -449,7 +449,7 @@ struct inode *
nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb,
ino_t ino, gfp_t gfp_mask)
{
struct inode *inode = nilfs_alloc_inode(sb);
struct inode *inode = nilfs_alloc_inode_common(nilfs);
if (!inode)
return NULL;