diff options
| author | Dmitry Safonov <[email protected]> | 2025-10-07 03:46:47 +0000 |
|---|---|---|
| committer | Nathan Chancellor <[email protected]> | 2025-10-07 16:53:05 +0000 |
| commit | 38492c5743f8b7213ca86f0cd72ea625af35d5ef (patch) | |
| tree | aa7d10e06c7c6c18c194926b2f0c5cbe44087398 /lib/mpi/mpi-inline.c | |
| parent | scripts/Makefile.extrawarn: Respect CONFIG_WERROR / W=e for hostprogs (diff) | |
| download | kernel-38492c5743f8b7213ca86f0cd72ea625af35d5ef.tar.gz kernel-38492c5743f8b7213ca86f0cd72ea625af35d5ef.zip | |
gen_init_cpio: Ignore fsync() returning EINVAL on pipes
The reproducer:
echo | ./usr/gen_init_cpio /dev/stdin > /dev/null
fsync() on a pipe fd returns -EINVAL, which makes gen_init_cpio fail.
Ignore -EINVAL from fsync().
Fixes: ae18b94099b0 ("gen_init_cpio: support -o <output_file> parameter")
Cc: David Disseldorp <[email protected]>
Cc: Nicolas Schier <[email protected]>
Signed-off-by: Dmitry Safonov <[email protected]>
Reviewed-by: David Disseldorp <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Nathan Chancellor <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
