Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 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 */ |