Message ID | 20250321072145.1675257-9-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/13] xfs/177: force a small file system size | expand |
diff --git a/common/xfs b/common/xfs index c1b4c5577b2b..ccf263aeb969 100644 --- a/common/xfs +++ b/common/xfs @@ -2206,7 +2206,10 @@ _xfs_scratch_supports_rtquota() { # can check that quickly, and we make the bold assumption that the same will # apply to any scratch fs that might be created. _require_xfs_rtquota_if_rtdev() { - test "$USE_EXTERNAL" = "yes" || return + if [ "$USE_EXTERNAL" != "yes" ]; then + $XFS_INFO_PROG "$TEST_DIR" | grep -q 'realtime.*internal' && + _notrun "Quota on internal rt device not supported" + fi if [ -n "$TEST_RTDEV$SCRATCH_RTDEV" ]; then _xfs_kmod_supports_rtquota || \