core: update comment

unit_serialize_item() was dropped in d68c645bd3.
But "cannot be restored from other sources" is also not entirely true: for
example for mounts we may be able to figure out most state from /p/s/mountinfo.
So let's make the comment more oblique.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-06-04 10:51:19 +02:00
parent 771bdb6aae
commit 1ece068e83
+2 -2
View File
@@ -543,8 +543,8 @@ typedef struct UnitVTable {
bool (*can_reload)(Unit *u);
/* Write all data that cannot be restored from other sources
* away using unit_serialize_item() */
/* Serialize state and file descriptors that should be carried over into the new
* instance after reexecution. */
int (*serialize)(Unit *u, FILE *f, FDSet *fds);
/* Restore one item from the serialization */