xfs: don't flush and invalidate internal RT device twice in xfs_shutdown_devices

Check for an internal RT device to remove a bit of extra work.

Fixes: bdc03eb5f9 ("xfs: allow internal RT devices for zoned mode")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
Christoph Hellwig 2026-07-20 16:09:21 +02:00 • committed by Carlos Maiolino
commit 7fc296b379