]> git.ipfire.org Git - thirdparty/mdadm.git/commit
add checking of return status on fstat calls
authorNigel Croxon <ncroxon@redhat.com>
Mon, 20 May 2024 13:36:50 +0000 (09:36 -0400)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 21 May 2024 07:11:31 +0000 (09:11 +0200)
commit95673c7d83c8ac7f2aeb91a34ead2971ba30e96e
treef9c057d415ecad7156e9dc7626b21f7dbf0163ee
parentc5879860eac64ddd7bec4ba50c9adbfebcbf1d2e
add checking of return status on fstat calls

There are a few places we don't check the return status when
calling fstat for success. Clean up the calls by adding a
check before continuing.

Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
Assemble.c
Dump.c
Grow.c
config.c
mdstat.c
super-ddf.c
super-intel.c