xfs: do the ASSERT for the arguments O_{u,g,p}dqpp
authorKaixu Xia <kaixuxia@tencent.com>
Wed, 7 Oct 2020 00:50:14 +0000 (17:50 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 7 Oct 2020 15:40:29 +0000 (08:40 -0700)
commit97611f936674326d6fd12225ec4150fa37c04dfa
tree779662e033b14e69897c88048416b080900dc7d1
parent8ffa90e1145c70c7ac47f14b59583b2296d89e72
xfs: do the ASSERT for the arguments O_{u,g,p}dqpp

If we pass in XFS_QMOPT_{U,G,P}QUOTA flags and different uid/gid/prid
than them currently associated with the inode, the arguments
O_{u,g,p}dqpp shouldn't be NULL, so add the ASSERT for them.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_qm.c