diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:18 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:18 -0700 |
commit | 1946b91cee4fc8ae25450673e4d4f35e9b462e9e (patch) | |
tree | e9cc737943e4e7b76c01cab92f88a6c49b49dc43 /fs/xfs/xfs_trace.h | |
parent | af30dfa14411e9df0e69c6e46e8c6c467b88229d (diff) | |
download | linux-stable-1946b91cee4fc8ae25450673e4d4f35e9b462e9e.tar.gz linux-stable-1946b91cee4fc8ae25450673e4d4f35e9b462e9e.tar.bz2 linux-stable-1946b91cee4fc8ae25450673e4d4f35e9b462e9e.zip |
xfs: define the on-disk refcount btree format
Start constructing the refcount btree implementation by establishing
the on-disk format and everything needed to read, write, and
manipulate the refcount btree blocks.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index 8446338929f6..c7b9853c7ae9 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -39,16 +39,7 @@ struct xfs_buf_log_format; struct xfs_inode_log_format; struct xfs_bmbt_irec; struct xfs_btree_cur; - -#ifndef XFS_REFCOUNT_IREC_PLACEHOLDER -#define XFS_REFCOUNT_IREC_PLACEHOLDER -/* Placeholder definition to avoid breaking bisectability. */ -struct xfs_refcount_irec { - xfs_agblock_t rc_startblock; /* starting block number */ - xfs_extlen_t rc_blockcount; /* count of free blocks */ - xfs_nlink_t rc_refcount; /* number of inodes linked here */ -}; -#endif +struct xfs_refcount_irec; DECLARE_EVENT_CLASS(xfs_attr_list_class, TP_PROTO(struct xfs_attr_list_context *ctx), |