1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2020-2022, Red Hat, Inc.
6 #ifndef XFS_IUNLINK_ITEM_H
7 #define XFS_IUNLINK_ITEM_H 1
13 /* in memory log item structure */
14 struct xfs_iunlink_item {
15 struct xfs_log_item item;
17 struct xfs_perag *pag;
18 xfs_agino_t next_agino;
19 xfs_agino_t old_agino;
22 extern struct kmem_cache *xfs_iunlink_cache;
24 int xfs_iunlink_log_inode(struct xfs_trans *tp, struct xfs_inode *ip,
25 struct xfs_perag *pag, xfs_agino_t next_agino);
27 #endif /* XFS_IUNLINK_ITEM_H */