]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: fix _xfs_is_realtime_file for internal rt devices
authorDarrick J. Wong <djwong@kernel.org>
Tue, 16 Dec 2025 18:29:41 +0000 (10:29 -0800)
committerZorro Lang <zlang@kernel.org>
Wed, 31 Dec 2025 22:19:31 +0000 (06:19 +0800)
commitd49e334213756882160117c27afa5c3b627760e6
treebf5cec9ec819aeb029e1e60607708b157bcc836a
parent36836607c9e79c9d18de5affcc05ce723ad16a7b
common/rc: fix _xfs_is_realtime_file for internal rt devices

Now that we can have internal realtime devices, it's possible to have a
realtime filesystem without setting USE_EXTERNAL=yes or SCRATCH_RTDEV.
Use the existing _xfs_has_feature helper to figure out if the given path
points to a filesystem with an online realtime volume.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/xfs