liveupdate: Document that retrieve failure is permanent
Subsystems (2)
PATCH v2 1/1 liveupdate: Document that retrieve failure is permanent
Signed-off-by Tarun Sahu <[email protected]>
--- include/uapi/linux/liveupdate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/uapi/linux/liveupdate.h +3 -1
@@ -168,7 +168,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). */
base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce
Signature · 1 line
2.54.0.1099.g489fc7bff1-goog
Quoted 1 line · Tarun Sahu
Signed-off-by Tarun Sahu <[email protected]>
Reviewed-by Pratyush Yadav (Google) <[email protected]>
Thanks for the fix!
[...]
Signature · 2 lines
Regards, Pratyush Yadav
Quoted 1 line · Tarun Sahu
liveupdate: Document that retrieve failure is permanent
Applied to next branch of liveupdate/linux.git tree, thanks!
[1/1] liveupdate: Document that retrieve failure is permanent
commit: e98a9c61721c14bcd29f11f4802e52e908701f7a
tree: https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
branch: next
--
Sincerely yours,
Mike.
On 06-11 09:30, Tarun Sahu wrote:
Please include at least a sentence in the commit log.
Otherwise,
Reviewed-by Pasha Tatashin <[email protected]>
Quoted 27 lines
Signed-off-by Tarun Sahu <[email protected]>--- include/uapi/linux/liveupdate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)include/uapi/linux/liveupdate.h +3
-1@@ -168,7 +168,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). */
base-commit:
2d3090a8aeb596a26935db0955d46c9a5db5c6ceSignature · 1 line
2.54.0.1099.g489fc7bff1-goog