]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/nilfs2/nilfs.h
nilfs2: fix lockdep warnings during disk space reclamation
[people/ms/linux.git] / fs / nilfs2 / nilfs.h
index 36b048db00b7219a5e0cb8c9a63d08468b838629..1344f7d475d3c664dc18746ce489a3ae0fcae989 100644 (file)
@@ -92,6 +92,7 @@ enum {
        NILFS_I_BMAP,                   /* has bmap and btnode_cache */
        NILFS_I_GCINODE,                /* inode for GC, on memory only */
        NILFS_I_BTNC,                   /* inode for btree node cache */
+       NILFS_I_SHADOW,                 /* inode for shadowed page cache */
 };
 
 /*
@@ -263,6 +264,7 @@ extern struct inode *nilfs_iget_for_gc(struct super_block *sb,
                                       unsigned long ino, __u64 cno);
 int nilfs_attach_btree_node_cache(struct inode *inode);
 void nilfs_detach_btree_node_cache(struct inode *inode);
+struct inode *nilfs_iget_for_shadow(struct inode *inode);
 extern void nilfs_update_inode(struct inode *, struct buffer_head *, int);
 extern void nilfs_truncate(struct inode *);
 extern void nilfs_evict_inode(struct inode *);