]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix scrub flagging rtinherit even if there is no rt device
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Nov 2020 01:14:07 +0000 (17:14 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 4 Nov 2020 16:52:47 +0000 (08:52 -0800)
commitd2c0e452be090b2cc7ab7003c45a8acaebe6e174
treee0d6176443182b5a004beb6fdbc797278e3f9a51
parentaba255251798e94445a92e3e94fdec4d151c7ecc
xfs: fix scrub flagging rtinherit even if there is no rt device

The kernel has always allowed directories to have the rtinherit flag
set, even if there is no rt device, so this check is wrong.

Fixes: a522c5592011 ("xfs: scrub inodes")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/inode.c