]> 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)
commitfcf6830f238b63207ffd7b547de9d16d2f94985c
tree779662e033b14e69897c88048416b080900dc7d1
parent844eb5c3c6b663610e946ba3e4e41945200f6dbb
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