summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/label.c
diff options
context:
space:
mode:
authorKarel Zak2014-11-21 09:42:23 +0100
committerKarel Zak2014-11-21 09:42:23 +0100
commit3c5ee57cd3e604bc728d261351abf69b2800980e (patch)
treedf45af498a3ff1d8f4cbf8c12defd30a86a38357 /libfdisk/src/label.c
parentagetty: keep the current baud before try 9600 on serial lines (diff)
downloadkernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.tar.gz
kernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.tar.xz
kernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.zip
agetty: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/label.c')
-rw-r--r--libfdisk/src/label.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c
index 12ad1dc30..a12bc838e 100644
--- a/libfdisk/src/label.c
+++ b/libfdisk/src/label.c
@@ -10,7 +10,9 @@
* The fdisk_new_context() initializes all label drivers, and allocate
* per-label specific data struct. This concept allows to store label specific
* settings to the label driver independently on the currently active label
- * driver.
+ * driver. Note that lable struct cannot be deallocated, so there is no
+ * reference counting for fdisk_label objects. All is destroyed by
+ * fdisk_unref_context() only.
*
* Anyway, all label drives share in-memory first sector. The function
* fdisk_create_disklabel() overwrites the sector. But it's possible that