mkfs: optimization and code cleanup
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Wed, 14 Dec 2011 09:40:56 +0000 (17:40 +0800)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 23 Dec 2011 08:19:47 +0000 (08:19 +0000)
commit2ac869bcc86fbf0dd7e878f10a2b60769a58c962
treea87c4894cee084cab0561923da64e3e22834bd90
parent6067e1540fab8e8ca85e8c052bbee057882548be
mkfs: optimization and code cleanup

v1->v2: fix a typo pointed by Matt

Optimizations by reducing the STREQ operations and do some
code cleanup.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
RWMJ: Whitespace changes.
daemon/mkfs.c