]> git.itanic.dy.fi Git - linux-stable/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)
commit110f09cb705af8c53f2a457baf771d2935ed62d4
tree9c8bc3908853ed2e1faad235c68c86e7d058a77a
parentee4fb16cbec9aa1ce6e837d143f411ee42df1bb5
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