diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-08-21 09:01:51 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-10-22 20:24:34 -0400 |
commit | 5e19a995f4ad8a8f20749a396bb01ebb6d4df96c (patch) | |
tree | a6012a5f553a29d02101c81595a368c4eb90b101 /fs/nilfs2/mdt.h | |
parent | 0e14a3595bddedfb27b51a6b0a29b5173aa2511a (diff) |
nilfs2: separate initializer of metadata file inode
This separates a part of initialization code of metadata file inode,
and makes it available from the nilfs iget function that a later patch
will add to.
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nilfs2/mdt.h b/fs/nilfs2/mdt.h index 6c4bbb0470fc..f44560224bd1 100644 --- a/fs/nilfs2/mdt.h +++ b/fs/nilfs2/mdt.h | |||
@@ -76,10 +76,12 @@ int nilfs_mdt_forget_block(struct inode *, unsigned long); | |||
76 | int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); | 76 | int nilfs_mdt_mark_block_dirty(struct inode *, unsigned long); |
77 | int nilfs_mdt_fetch_dirty(struct inode *); | 77 | int nilfs_mdt_fetch_dirty(struct inode *); |
78 | 78 | ||
79 | int nilfs_mdt_init(struct inode *inode, struct the_nilfs *nilfs, | ||
80 | gfp_t gfp_mask, size_t objsz); | ||
79 | struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t, | 81 | struct inode *nilfs_mdt_new(struct the_nilfs *, struct super_block *, ino_t, |
80 | size_t); | 82 | size_t); |
81 | struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *, | 83 | struct inode *nilfs_mdt_new_common(struct the_nilfs *, struct super_block *, |
82 | ino_t, gfp_t, size_t); | 84 | ino_t); |
83 | void nilfs_mdt_destroy(struct inode *); | 85 | void nilfs_mdt_destroy(struct inode *); |
84 | void nilfs_mdt_set_entry_size(struct inode *, unsigned, unsigned); | 86 | void nilfs_mdt_set_entry_size(struct inode *, unsigned, unsigned); |
85 | void nilfs_mdt_set_shadow(struct inode *, struct inode *); | 87 | void nilfs_mdt_set_shadow(struct inode *, struct inode *); |