]> git.ipfire.org Git - thirdparty/mdadm.git/commit - raid6check.c
raid6check: Check return value of lseek64()
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Tue, 18 Jun 2013 09:09:41 +0000 (11:09 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 19 Jun 2013 00:05:38 +0000 (10:05 +1000)
commit2161adce8f789cfb01123f6c6c1d7c986b27abb5
tree58095a91a711100967d36caf2608f288668c21bb
parent2c7b668df75ce355398a22e42b7a9ee860c10dbe
raid6check: Check return value of lseek64()

If lseek64() failed it was still writing to the disks, which would introduce
data corruption.

Signed-off-by: Bernd Schubert <bernd.schubert@fastmail.fm>
Signed-off-by: NeilBrown <neilb@suse.de>
raid6check.c