]> 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)
commit08778bdc229eed12763d868a4417b68024de1376
treeaf0dd7b31cfac831db0fa979ef2056084213468b
parentc748b15fca459691a1461a343d9225f47498300d
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