diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-09-04 23:20:59 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-10-22 20:24:38 -0400 |
commit | f1e89c86fdd0f5e59f6768146c86437934202033 (patch) | |
tree | c5ba8766a3a029f0c10d6d0d09a57a7e28b7a51b /fs/nilfs2/mdt.h | |
parent | c1c1d7092072093ad960db2f6c08f06705c57fa4 (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.h | 3 |
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); | |||
85 | int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); | 85 | int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); |
86 | int nilfs_mdt_fetch_dirty(struct inode *); | 86 | int nilfs_mdt_fetch_dirty(struct inode *); |
87 | 87 | ||
88 | int nilfs_mdt_init(struct inode *inode, struct the_nilfs *nilfs, | 88 | int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz); |
89 | gfp_t gfp_mask, size_t objsz); | ||
90 | struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t, | 89 | struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t, |
91 | size_t); | 90 | size_t); |
92 | struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *, | 91 | struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *, |