]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add missing assert in xfs_fsmap_owner_from_rmap
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Nov 2019 16:41:18 +0000 (09:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:27 +0000 (08:28 -0800)
commita68015ab0edec1469f0cc73a16edbb9a10878484
tree9c8bc3908853ed2e1faad235c68c86e7d058a77a
parent9839a6d926c13d7671b092a6c218fcfffaa6e005
xfs: add missing assert in xfs_fsmap_owner_from_rmap

The fsmap handler shouldn't fail silently if the rmap code ever feeds it
a special owner number that isn't known to the fsmap handler.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_fsmap.c