aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/nilfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/nilfs.h')
-rw-r--r--fs/nilfs2/nilfs.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h
index cf5507a2a178..e9f457951e32 100644
--- a/fs/nilfs2/nilfs.h
+++ b/fs/nilfs2/nilfs.h
@@ -101,7 +101,6 @@ enum {
101 NILFS_I_INODE_DIRTY, /* write_inode is requested */ 101 NILFS_I_INODE_DIRTY, /* write_inode is requested */
102 NILFS_I_BMAP, /* has bmap and btnode_cache */ 102 NILFS_I_BMAP, /* has bmap and btnode_cache */
103 NILFS_I_GCINODE, /* inode for GC, on memory only */ 103 NILFS_I_GCINODE, /* inode for GC, on memory only */
104 NILFS_I_GCDAT, /* shadow DAT, on memory only */
105}; 104};
106 105
107/* 106/*
@@ -193,7 +192,7 @@ static inline int nilfs_doing_construction(void)
193 192
194static inline struct inode *nilfs_dat_inode(const struct the_nilfs *nilfs) 193static inline struct inode *nilfs_dat_inode(const struct the_nilfs *nilfs)
195{ 194{
196 return nilfs_doing_gc() ? nilfs->ns_gc_dat : nilfs->ns_dat; 195 return nilfs->ns_dat;
197} 196}
198 197
199/* 198/*
@@ -294,11 +293,6 @@ int nilfs_gccache_wait_and_mark_dirty(struct buffer_head *);
294int nilfs_init_gcinode(struct inode *inode); 293int nilfs_init_gcinode(struct inode *inode);
295void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs); 294void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs);
296 295
297/* gcdat.c */
298int nilfs_init_gcdat_inode(struct the_nilfs *);
299void nilfs_commit_gcdat_inode(struct the_nilfs *);
300void nilfs_clear_gcdat_inode(struct the_nilfs *);
301
302/* 296/*
303 * Inodes and files operations 297 * Inodes and files operations
304 */ 298 */