FILE
xfs_dquot_item.h
File preview with syntax highlighting.
linux-6.19.14/fs/xfs/xfs_dquot_item.h
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2003 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_DQUOT_ITEM_H__ 7#define __XFS_DQUOT_ITEM_H__ 8 9struct xfs_dquot; 10struct xfs_trans; 11struct xfs_mount; 12 13struct xfs_dq_logitem { 14 struct xfs_log_item qli_item; /* common portion */ 15 struct xfs_dquot *qli_dquot; /* dquot ptr */ 16 xfs_lsn_t qli_flush_lsn; /* lsn at last flush */ 17 18 /* 19 * We use this spinlock to coordinate access to the li_buf pointer in 20 * the log item and the qli_dirty flag. 21 */ 22 spinlock_t qli_lock; 23 bool qli_dirty; /* dirtied since last flush? */ 24}; 25 26void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp); 27 28#endif /* __XFS_DQUOT_ITEM_H__ */
~/
Read-only file preview.