]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xdrgen: Remove program_stat_to_errno() call sites
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 Oct 2024 17:44:15 +0000 (13:44 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 19 Nov 2024 01:23:07 +0000 (20:23 -0500)
commit573954a996c0056b25eda4638edfee8c010e27f7
tree49a51cbee2348555689ac8b5ec8155b59c3e6e13
parent903a7d37d9ea03cfed21040467d3d345d1e6fc76
xdrgen: Remove program_stat_to_errno() call sites

Refactor: Translating an on-the-wire value to a local host errno is
architecturally a job for the proc function, not the XDR decoder.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2