xref: /openbmc/linux/fs/xfs/xfs_dquot_item.h (revision 40b52225)
10b61f8a4SDave Chinner // SPDX-License-Identifier: GPL-2.0
2c59d87c4SChristoph Hellwig /*
3c59d87c4SChristoph Hellwig  * Copyright (c) 2000-2003 Silicon Graphics, Inc.
4c59d87c4SChristoph Hellwig  * All Rights Reserved.
5c59d87c4SChristoph Hellwig  */
6c59d87c4SChristoph Hellwig #ifndef __XFS_DQUOT_ITEM_H__
7c59d87c4SChristoph Hellwig #define __XFS_DQUOT_ITEM_H__
8c59d87c4SChristoph Hellwig 
9c59d87c4SChristoph Hellwig struct xfs_dquot;
10c59d87c4SChristoph Hellwig struct xfs_trans;
11c59d87c4SChristoph Hellwig struct xfs_mount;
12c59d87c4SChristoph Hellwig 
13fd8b81dbSPavel Reichl struct xfs_dq_logitem {
14efe2330fSChristoph Hellwig 	struct xfs_log_item	qli_item;	/* common portion */
15c59d87c4SChristoph Hellwig 	struct xfs_dquot	*qli_dquot;	/* dquot ptr */
16c59d87c4SChristoph Hellwig 	xfs_lsn_t		qli_flush_lsn;	/* lsn at last flush */
17fd8b81dbSPavel Reichl };
18c59d87c4SChristoph Hellwig 
19d0bdfb10SPavel Reichl void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp);
20c59d87c4SChristoph Hellwig 
21c59d87c4SChristoph Hellwig #endif	/* __XFS_DQUOT_ITEM_H__ */
22