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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user