]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
fix mkfs.xfs -dfile
authorChristoph Hellwig <hch@sgi.com>
Fri, 15 Apr 2005 15:11:20 +0000 (15:11 +0000)
committerChristoph Hellwig <hch@sgi.com>
Fri, 15 Apr 2005 15:11:20 +0000 (15:11 +0000)
only query rt subvolume stripe aligment if we actually have a rt subvolume

mkfs/xfs_mkfs.c

index 54ac335fe95cb447274a3b6bf79a448ef554ad80..e248526e56df67131f65bcfcfb1e46e333c63908 100644 (file)
@@ -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);