Whamcloud - gitweb
mke2fs: fix up topo complaints on regular files
authorEric Sandeen <sandeen@redhat.com>
Sun, 24 Jan 2010 03:50:45 +0000 (21:50 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 6 Feb 2010 03:50:21 +0000 (22:50 -0500)
commit13b0b1231ed28aac75ba336de7a8cb3b4611ce68
tree73ded8bfc713a2dd4abafad79e5bbd585f327a65
parent4828bbe9e7380da0d9153109ab290e88b5d53bf5
mke2fs: fix up topo complaints on regular files

mkfsing a plain file would lead to a warning about being unable
to determine geometry; we should just skip the topology-getting
if we see that we have a regular file.

This was breaking "make check" but I had missed it since I
inadvertently stopped running the checks during the Fedora
RPM build.

Also, add a newline to the warning.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c