]> 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)
commit2e3b3d28b8461405352929dc283ac9350cd64374
treee0d6176443182b5a004beb6fdbc797278e3f9a51
parentc92a5a131f551b6ee6ed88890688247d088cb0e9
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: d711a92bba15 ("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