xref: /linux/fs/xfs/xfs_icreate_item.h (revision be58f7103700a68d5c7ca60a2bc0b309907599ab)
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 kmem_zone_t *xfs_icreate_zone;	/* inode create item zone */
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