From 7dc01804f8256738fa2e0918edfc158923c3b595 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 15 Apr 2005 15:11:20 +0000 Subject: [PATCH] fix mkfs.xfs -dfile only query rt subvolume stripe aligment if we actually have a rt subvolume --- mkfs/xfs_mkfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index 54ac335fe..e248526e5 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -1442,7 +1442,7 @@ main( dummy1 = rswidth = 0; - if (!norsflag && !xi.risfile) + if (!norsflag && !xi.risfile && !(!rtsize && xi.disfile)) get_subvol_stripe_wrapper(dfile, SVTYPE_RT, &dummy1, &rswidth); -- 2.47.2