Dave Chinner | 0b61f8a | 2018-06-05 19:42:14 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Nathan Scott | 4ce3121 | 2005-11-02 14:59:41 +1100 | [diff] [blame] | 3 | * Copyright (c) 2000-2003 Silicon Graphics, Inc. |
| 4 | * All Rights Reserved. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __XFS_DQUOT_ITEM_H__ |
| 7 | #define __XFS_DQUOT_ITEM_H__ |
| 8 | |
| 9 | struct xfs_dquot; |
| 10 | struct xfs_trans; |
| 11 | struct xfs_mount; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Pavel Reichl | fd8b81d | 2019-11-12 17:04:26 -0800 | [diff] [blame] | 13 | struct xfs_dq_logitem { |
Pavel Reichl | d0bdfb1 | 2019-11-12 17:04:27 -0800 | [diff] [blame] | 14 | struct xfs_log_item qli_item; /* common portion */ |
Pavel Reichl | fd8b81d | 2019-11-12 17:04:26 -0800 | [diff] [blame] | 15 | struct xfs_dquot *qli_dquot; /* dquot ptr */ |
Pavel Reichl | d0bdfb1 | 2019-11-12 17:04:27 -0800 | [diff] [blame] | 16 | xfs_lsn_t qli_flush_lsn; /* lsn at last flush */ |
Pavel Reichl | fd8b81d | 2019-11-12 17:04:26 -0800 | [diff] [blame] | 17 | }; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Pavel Reichl | d0bdfb1 | 2019-11-12 17:04:27 -0800 | [diff] [blame] | 19 | void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | #endif /* __XFS_DQUOT_ITEM_H__ */ |