diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-10 07:52:09 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-22 21:02:14 -0400 |
commit | 05d0e94b66dbdf9d90371b39dc7a6b390ba74d41 (patch) | |
tree | 10476599c8102fc58f635d63e4e9a7aa58bf905e /fs/nilfs2/super.c | |
parent | dc935be2a094087bc561d80f8cf9e66bbc1f7b18 (diff) |
nilfs2: get rid of nilfs_bmap_union
This removes nilfs_bmap_union and finally unifies three structures and
the union in bmap/btree code into one.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r-- | fs/nilfs2/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 952f4ccb18de..164457316df1 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -55,6 +55,8 @@ | |||
55 | #include "nilfs.h" | 55 | #include "nilfs.h" |
56 | #include "mdt.h" | 56 | #include "mdt.h" |
57 | #include "alloc.h" | 57 | #include "alloc.h" |
58 | #include "btree.h" | ||
59 | #include "btnode.h" | ||
58 | #include "page.h" | 60 | #include "page.h" |
59 | #include "cpfile.h" | 61 | #include "cpfile.h" |
60 | #include "ifile.h" | 62 | #include "ifile.h" |
@@ -1213,7 +1215,7 @@ static void nilfs_inode_init_once(void *obj) | |||
1213 | init_rwsem(&ii->xattr_sem); | 1215 | init_rwsem(&ii->xattr_sem); |
1214 | #endif | 1216 | #endif |
1215 | nilfs_btnode_cache_init_once(&ii->i_btnode_cache); | 1217 | nilfs_btnode_cache_init_once(&ii->i_btnode_cache); |
1216 | ii->i_bmap = (struct nilfs_bmap *)&ii->i_bmap_union; | 1218 | ii->i_bmap = &ii->i_bmap_data; |
1217 | inode_init_once(&ii->vfs_inode); | 1219 | inode_init_once(&ii->vfs_inode); |
1218 | } | 1220 | } |
1219 | 1221 | ||