]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit176d40bf2a77f494ee26e631347f2cfe157a929d
tree779662e033b14e69897c88048416b080900dc7d1
parente18ab1a61b065f9e59e26049773dec7f0a61712b
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