aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/mdt.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-09-04 23:20:59 -0400
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-10-22 20:24:38 -0400
commitf1e89c86fdd0f5e59f6768146c86437934202033 (patch)
treec5ba8766a3a029f0c10d6d0d09a57a7e28b7a51b /fs/nilfs2/mdt.h
parentc1c1d7092072093ad960db2f6c08f06705c57fa4 (diff)
nilfs2: use iget for all metadata files
This makes use of iget5_locked to allocate or get inode for metadata files to stop using own inode allocator. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/mdt.h')
-rw-r--r--fs/nilfs2/mdt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nilfs2/mdt.h b/fs/nilfs2/mdt.h
index 1e0901c3fd6b..73ff7c055715 100644
--- a/fs/nilfs2/mdt.h
+++ b/fs/nilfs2/mdt.h
@@ -85,8 +85,7 @@ int nilfs_mdt_forget_block(struct inode *, unsigned long);
85int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); 85int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long);
86int nilfs_mdt_fetch_dirty(struct inode *); 86int nilfs_mdt_fetch_dirty(struct inode *);
87 87
88int nilfs_mdt_init(struct inode *inode, struct the_nilfs *nilfs, 88int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz);
89 gfp_t gfp_mask, size_t objsz);
90struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t, 89struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t,
91 size_t); 90 size_t);
92struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *, 91struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *,