Loading...
1/*
2 * Copyright (c) 2008-2010, Dave Chinner
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18#ifndef XFS_ICREATE_ITEM_H
19#define XFS_ICREATE_ITEM_H 1
20
21/* in memory log item structure */
22struct xfs_icreate_item {
23 struct xfs_log_item ic_item;
24 struct xfs_icreate_log ic_format;
25};
26
27extern kmem_zone_t *xfs_icreate_zone; /* inode create item zone */
28
29void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
30 xfs_agblock_t agbno, unsigned int count,
31 unsigned int inode_size, xfs_agblock_t length,
32 unsigned int generation);
33
34#endif /* XFS_ICREATE_ITEM_H */
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 */
10struct xfs_icreate_item {
11 struct xfs_log_item ic_item;
12 struct xfs_icreate_log ic_format;
13};
14
15extern struct kmem_cache *xfs_icreate_cache; /* inode create item */
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 */