[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/cache lvmetad.h



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall sourceware org	2012-02-26 08:50:14

Modified files:
	lib/cache      : lvmetad.h 

Log message:
	A bit of documentation for lvmetad_vg_lookup.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/cache/lvmetad.h.diff?cvsroot=lvm2&r1=1.1&r2=1.2

--- LVM2/lib/cache/lvmetad.h	2012/02/23 13:11:08	1.1
+++ LVM2/lib/cache/lvmetad.h	2012/02/26 08:50:13	1.2
@@ -87,7 +87,12 @@
  */
 int lvmetad_vg_list_to_lvmcache(struct cmd_context *cmd);
 
-struct volume_group *lvmetad_vg_lookup(struct cmd_context *cmd, const char *vgname, const char *vgid);
+/*
+ * Find a VG by its ID or its name in the lvmetad cache. Gives NULL if the VG is
+ * not found.
+ */
+struct volume_group *lvmetad_vg_lookup(struct cmd_context *cmd,
+				       const char *vgname, const char *vgid);
 
 /*
  * Scan a single device and update lvmetad with the result(s). If the device


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]