HomeFreeBSD

linprocfs: Properly reset error variable for mtab generation

Description

linprocfs: Properly reset error variable for mtab generation

Both functions linprocfs_domtab() and linprocfs_doprocmountinfo() are
logically identical, but the former fails with ECANCELED because error
is not reset after the for loop.

Reviewed by: jrm, fluffy
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D47865

Details

Provenance
michaeloAuthored on Dec 2 2024, 1:25 PM
Reviewer
jrm
Differential Revision
D47865: linprocfs: Properly reset error variable for mtab generation
Parents
rGda2c88dfcf4f: queue: Fix STAILQ_SWAP
Branches
Unknown
Tags
Unknown