MINOR: peers: Add comment on processing functions of the sync task

Just add a comment on __process_running_peer_sync() and
__process_stopping_peer_sync() functions.
This commit is contained in:
Christopher Faulet 2024-04-25 09:49:00 +02:00
parent 9a343467f3
commit b328edbeab

View File

@ -3390,6 +3390,7 @@ static void sync_peer_app_state(struct peers *peers, struct peer *peer)
}
}
/* Process the sync task for a running process. It is called from process_peer_sync() only */
static void __process_running_peer_sync(struct task *task, struct peers *peers, unsigned int state)
{
struct peer *ps;
@ -3559,6 +3560,7 @@ static void __process_running_peer_sync(struct task *task, struct peers *peers,
}
}
/* Process the sync task for a stopping process. It is called from process_peer_sync() only */
static void __process_stopping_peer_sync(struct task *task, struct peers *peers, unsigned int state)
{
struct peer *ps;