]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass full xfs_dqblk to repair during quotacheck
authorEric Sandeen <sandeen@sandeen.net>
Thu, 28 Jun 2018 20:11:54 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:54 +0000 (15:11 -0500)
commite1d3178a2a1f3d2123d7856471ce271a57c10827
tree58deebabf1cf0d929e140deb264b9bb22d3b30e4
parentc87d9122e8d6801bdc99097a88c2f107cf457319
xfs: pass full xfs_dqblk to repair during quotacheck

Source kernel commit: 48fa1db87f730da1aed2d3df0cc8c33c7c133b4b

It's a bit dicey to pass in the smaller xfs_disk_dquot and then cast it to
something larger; pass in the full xfs_dqblk so we know the caller has sent
us the right thing.  Rename the function to xfs_dqblk_repair for
clarity.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_api_defs.h
libxfs/xfs_dquot_buf.c
libxfs/xfs_quota_defs.h
repair/dinode.c