mkfs: enable to make xfs filesystems when the device already has a filesystem
authorWanlong Gao <wanlong.gao@gmail.com>
Fri, 2 Dec 2011 13:47:51 +0000 (21:47 +0800)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Dec 2011 14:58:41 +0000 (14:58 +0000)
commit0d3bb960b67e5bbd4af34056c7a9bf435bed6c94
tree5a11e5780b91dda26f2bcdb29a26c2d0dac486f3
parent7b295d0f3f09d8fde5b33106cb1e986bbf252bef
mkfs: enable to make xfs filesystems when the device already has a filesystem

Just add the -f option to mkfs.xfs to make sure we can
make a xfs filesystem when the device already has a
filesystem on it.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
(cherry picked from commit 1970a14178b5c53569965d35e54efead6c4c4bdc)
daemon/mkfs.c