diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-27 09:11:46 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-06-10 10:41:12 -0400 |
commit | a53b4751ae92adb372017222887f3ec625cba60b (patch) | |
tree | 454c0876bb532ee44ad07485e6d40c60e157ca34 /fs/nilfs2/mdt.c | |
parent | 30c25be71fcbd87fd33518045cc014e69bff3d6f (diff) |
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>
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 bb78745a0e30..7b7032ea60d3 100644 --- a/fs/nilfs2/mdt.c +++ b/fs/nilfs2/mdt.c | |||
@@ -449,7 +449,7 @@ struct inode * | |||
449 | nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb, | 449 | nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb, |
450 | ino_t ino, gfp_t gfp_mask) | 450 | ino_t ino, gfp_t gfp_mask) |
451 | { | 451 | { |
452 | struct inode *inode = nilfs_alloc_inode(sb); | 452 | struct inode *inode = nilfs_alloc_inode_common(nilfs); |
453 | 453 | ||
454 | if (!inode) | 454 | if (!inode) |
455 | return NULL; | 455 | return NULL; |