xref: /openbmc/linux/fs/xfs/xfs_icreate_item.h (revision 2a598d0b)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2008-2010, Dave Chinner
4  * All Rights Reserved.
5  */
6 #ifndef XFS_ICREATE_ITEM_H
7 #define XFS_ICREATE_ITEM_H	1
8 
9 /* in memory log item structure */
10 struct xfs_icreate_item {
11 	struct xfs_log_item	ic_item;
12 	struct xfs_icreate_log	ic_format;
13 };
14 
15 extern struct kmem_cache *xfs_icreate_cache;	/* inode create item */
16 
17 void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
18 			xfs_agblock_t agbno, unsigned int count,
19 			unsigned int inode_size, xfs_agblock_t length,
20 			unsigned int generation);
21 
22 #endif	/* XFS_ICREATE_ITEM_H */
23