diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-11-20 10:31:38 -0800 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2023-11-22 23:39:27 +0530 |
commit | ed17f7da5f0c8b65b7b5f7c98beb0aadbc0546ee (patch) | |
tree | 163efb9046eb87b57a2210edbb9cd82b0af295ca /fs/udf | |
parent | 98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff) |
xfs: clean up dqblk extraction
Since the introduction of xfs_dqblk in V5, xfs really ought to find the
dqblk pointer from the dquot buffer, then compute the xfs_disk_dquot
pointer from the dqblk pointer. Fix the open-coded xfs_buf_offset calls
and do the type checking in the correct order.
Note that this has made no practical difference since the start of the
xfs_disk_dquot is coincident with the start of the xfs_dqblk.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions