Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
611 B
C
28 lines
611 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2020-2022, Red Hat, Inc.
|
|
* All Rights Reserved.
|
|
*/
|
|
#ifndef XFS_IUNLINK_ITEM_H
|
|
#define XFS_IUNLINK_ITEM_H 1
|
|
|
|
struct xfs_trans;
|
|
struct xfs_inode;
|
|
struct xfs_perag;
|
|
|
|
/* in memory log item structure */
|
|
struct xfs_iunlink_item {
|
|
struct xfs_log_item item;
|
|
struct xfs_inode *ip;
|
|
struct xfs_perag *pag;
|
|
xfs_agino_t next_agino;
|
|
xfs_agino_t old_agino;
|
|
};
|
|
|
|
extern struct kmem_cache *xfs_iunlink_cache;
|
|
|
|
int xfs_iunlink_log_inode(struct xfs_trans *tp, struct xfs_inode *ip,
|
|
struct xfs_perag *pag, xfs_agino_t next_agino);
|
|
|
|
#endif /* XFS_IUNLINK_ITEM_H */
|