blob: a50d0b01e15a37ccf25032465125c789706597b1 [file] [log] [blame]
Dave Chinner0b61f8a2018-06-05 19:42:14 -07001// SPDX-License-Identifier: GPL-2.0
Dave Chinner3ebe7d22013-06-27 16:04:53 +10002/*
3 * Copyright (c) 2008-2010, Dave Chinner
4 * All Rights Reserved.
Dave Chinner3ebe7d22013-06-27 16:04:53 +10005 */
6#ifndef XFS_ICREATE_ITEM_H
7#define XFS_ICREATE_ITEM_H 1
8
Dave Chinner3ebe7d22013-06-27 16:04:53 +10009/* in memory log item structure */
10struct xfs_icreate_item {
11 struct xfs_log_item ic_item;
12 struct xfs_icreate_log ic_format;
13};
14
15extern kmem_zone_t *xfs_icreate_zone; /* inode create item zone */
16
17void 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 */