diff options
author | David Teigland <teigland@redhat.com> | 2016-06-07 16:09:45 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2016-06-27 11:16:35 -0500 |
commit | e6c376ee2dae4539b1cc38ed6d9c5430777d2753 (patch) | |
tree | 1ca604b0792278195b59ef62b6881fcb9fc9b9c4 | |
parent | 8eebb4bfb901caa5330676697557943fdb9733a5 (diff) | |
download | lvm2-e6c376ee2dae4539b1cc38ed6d9c5430777d2753.tar.gz |
lvmetad: remove unused code for other format types
lvmetad is no longer used at all with the lvm1 format,
so the text format is the only one that uses lvmetad.
-rw-r--r-- | lib/metadata/metadata.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index 9b1fd3148..e55463b9d 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -3546,13 +3546,6 @@ int vg_write(struct volume_group *vg) if (!_vg_update_vg_precommitted(vg)) /* prepare precommited */ return_0; - /* - * If precommit is not supported, changes take effect immediately. - * FIXME Replace with a more-accurate FMT_COMMIT flag. - */ - if (!(vg->fid->fmt->features & FMT_PRECOMMIT) && !lvmetad_vg_update(vg)) - return_0; - lockd_vg_update(vg); return 1; |