summaryrefslogtreecommitdiff
path: root/lib/raid/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorLeo Timmins <leotimmins1974@gmail.com>2026-03-25 12:46:07 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-04-06 11:13:42 -0700
commit307e0c5859b0aecc34180468b1aa76684adcf539 (patch)
tree8a0d2e053b442069d7be8f4d2a4cf0eb361789f9 /lib/raid/git@git.tavy.me:linux-stable.git
parentf58df566524ebcdfa394329c64f47e3c9257516e (diff)
liveupdate: propagate file deserialization failures
luo_session_deserialize() ignored the return value from luo_file_deserialize(). As a result, a session could be left partially restored even though the /dev/liveupdate open path treats deserialization failures as fatal. Propagate the error so a failed file deserialization aborts session deserialization instead of silently continuing. Link: https://lkml.kernel.org/r/20260325044608.8407-1-leotimmins1974@gmail.com Link: https://lkml.kernel.org/r/20260325044608.8407-2-leotimmins1974@gmail.com Fixes: 16cec0d26521 ("liveupdate: luo_session: add ioctls for file preservation") Signed-off-by: Leo Timmins <leotimmins1974@gmail.com> Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com> Reviewed-by: Pratyush Yadav <pratyush@kernel.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/raid/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions