xfs: Remove the macro XFS_BUF_PTR
Remove the definition and usages of the macro XFS_BUF_PTR. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
committed by
Alex Elder
parent
0095a21eb6
commit
6292604447
@@ -148,7 +148,7 @@ typedef enum xfs_dinode_fmt {
|
||||
be32_to_cpu((dip)->di_nextents) : \
|
||||
be16_to_cpu((dip)->di_anextents))
|
||||
|
||||
#define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_t *)XFS_BUF_PTR(bp))
|
||||
#define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_t *)((bp)->b_addr))
|
||||
|
||||
/*
|
||||
* For block and character special files the 32bit dev_t is stored at the
|
||||
|
Reference in New Issue
Block a user