]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: validate ondisk/incore dquot flags
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 14 Jul 2020 17:36:09 +0000 (10:36 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 29 Jul 2020 03:24:14 +0000 (20:24 -0700)
commit77ab6567acedadab8a5bfcee3965fccd6e74df1f
treeaf0dd7b31cfac831db0fa979ef2056084213468b
parent1bd1c585eec479bdbca181f07ef5888efd1f8d73
xfs: validate ondisk/incore dquot flags

While loading dquot records off disk, make sure that the quota type
flags are the same between the incore dquot and the ondisk dquot.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
fs/xfs/xfs_dquot.c