liveupdate: Document that retrieve failure is permanent

Signed-off-by: Tarun Sahu <tarunsahu@google.com>
Reviewed-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Link: https://patch.msgid.link/faec5df2a3e90240cde5897bae2250cd7d44aeac.1781170056.git.tarunsahu@google.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
This commit is contained in:
Tarun Sahu 2026-06-11 09:30:40 +00:00 committed by Mike Rapoport (Microsoft)
parent 3a358c7809
commit e98a9c6172

View File

@ -169,7 +169,9 @@ struct liveupdate_session_preserve_fd {
* associated with the token and populates the @fd field with a new file
* descriptor referencing the restored resource in the current (new) kernel.
* This operation must be performed *before* signaling completion via
* %LIVEUPDATE_IOCTL_FINISH.
* %LIVEUPDATE_IOCTL_FINISH. If a retrieve of a token fails, subsequent
* attempts to retrieve the token fail with the same error code. Failed
* retrieves are not retried.
*
* Return: 0 on success, negative error code on failure (e.g., invalid token).
*/