]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: don't propagate RTINHERIT -> REALTIME when there is no rtdev
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 30 Sep 2020 14:59:15 +0000 (10:59 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 30 Sep 2020 14:59:15 +0000 (10:59 -0400)
commit6c03cb237fdea426448331f7a9cede89cd548180
tree1423f9bab46d145459b42c0d30a237c09a52bc55
parent7214a7d43f80ab043f4c9f2c65ae9796aeacb150
libxfs: don't propagate RTINHERIT -> REALTIME when there is no rtdev

When creating a file inside a directory that has RTINHERIT set, only
propagate the REALTIME flag to the file if the filesystem actually has a
realtime volume configured.  Otherwise, we end up writing inodes that
trip the verifiers.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/util.c