]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: don't warn about topology when mkfsing a file
authorEric Sandeen <sandeen@sandeen.net>
Tue, 19 Jan 2010 16:52:44 +0000 (10:52 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 19 Jan 2010 16:52:44 +0000 (10:52 -0600)
commitfb10fd960b3c81a3f09993ae84626fbee018a33f
treea3366ee4f4b196dc289fc941b6c02cc2b71e3db1
parentd943b1140e566223bfd424ca4e24b3c1f3781037
mkfs: don't warn about topology when mkfsing a file

Some tests were failing for me like:

 QA output created by 206
 === truncate file ===
 === mkfs.xfs ===
+warning: unable to probe device toplology for device /mnt/test/fsfile.21615
...

I thought about filtering the tests, but ...

It seems that we shouldn't even be trying to get topology for a
plain file, should we?  And then we won't warn about failure.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
mkfs/xfs_mkfs.c