ceph/ceph — pull request #1020 by dachary (2013-12-30 11:59:51+00:00)
Title: ceph-disk: prepare --data-dir must not override files

ceph-disk does nothing when given a device that is already prepared. If
given a directory that already contains a fsid file, it will however
override it.

Instead of overriding the files in the osd data directory, return
immediately if the magic file exists.

Signed-off-by: Loic Dachary