Dave Chinner | 0b61f8a | 2018-06-05 19:42:14 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Dave Chinner | 3ebe7d2 | 2013-06-27 16:04:53 +1000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2008-2010, Dave Chinner |
| 4 | * All Rights Reserved. |
Dave Chinner | 3ebe7d2 | 2013-06-27 16:04:53 +1000 | [diff] [blame] | 5 | */ |
| 6 | #ifndef XFS_ICREATE_ITEM_H |
| 7 | #define XFS_ICREATE_ITEM_H 1 |
| 8 | |
Dave Chinner | 3ebe7d2 | 2013-06-27 16:04:53 +1000 | [diff] [blame] | 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 */ |