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 5df54f4796
commit bdcfacdb78

View File

@ -3385,6 +3385,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;
@ -3554,6 +3555,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;