From: Christoph Hellwig Date: Fri, 15 Apr 2005 15:11:20 +0000 (+0000) Subject: fix mkfs.xfs -dfile X-Git-Tag: v2.7.0~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dc01804f8256738fa2e0918edfc158923c3b595;p=thirdparty%2Fxfsprogs-dev.git fix mkfs.xfs -dfile only query rt subvolume stripe aligment if we actually have a rt subvolume --- 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);