summaryrefslogtreecommitdiff
path: root/lib/format1/disk-rep.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-08-01 14:56:33 +0000
committerAlasdair Kergon <agk@redhat.com>2006-08-01 14:56:33 +0000
commite3ad1d19d5e3aaf4743ba24ad147b705d60fde5b (patch)
treef75de7e4cf8d8d2fcb4dcdb165e7e4685e8aad28 /lib/format1/disk-rep.c
parent8b0d546f4c9ec68bbbbc7dd41f437822cb91cb33 (diff)
downloadlvm2-e3ad1d19d5e3aaf4743ba24ad147b705d60fde5b.tar.gz
Add --trustcache option to reporting commands in preparation for supporting
event-driven model. Without changes to the way the cache gets updated, the option is currently unreliable without a global lock to prevent any lvm2 commands from running concurrently.
Diffstat (limited to 'lib/format1/disk-rep.c')
-rw-r--r--lib/format1/disk-rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format1/disk-rep.c b/lib/format1/disk-rep.c
index 40d17a165..b414b2359 100644
--- a/lib/format1/disk-rep.c
+++ b/lib/format1/disk-rep.c
@@ -458,7 +458,7 @@ static void _add_pv_to_list(struct list *head, struct disk_list *data)
/*
* Build a list of pv_d's structures, allocated from mem.
- * We keep track of the first object allocated form the pool
+ * We keep track of the first object allocated from the pool
* so we can free off all the memory if something goes wrong.
*/
int read_pvs_in_vg(const struct format_type *fmt, const char *vg_name,