]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: encapsulate partprobe / partx calls
authorLoic Dachary <loic-201408@dachary.org>
Fri, 10 Oct 2014 08:23:34 +0000 (10:23 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 18 Nov 2014 11:20:01 +0000 (12:20 +0100)
commit922a15ea6865ef915bbdec2597433da6792c1cb2
tree0ece4fe59e9460f0039dfaca55be02a5078f7ea7
parent0e6db90a657fac7246d2a1b05ec8fdeb9fa088dc
ceph-disk: encapsulate partprobe / partx calls

Add the update_partition function to reduce code duplication.
The action is made an argument although it always is -a because it will
be -d when deleting a partition.

Use the update_partition function in prepare_journal_dev

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/ceph-disk