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:
+2
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user