Blame SOURCES/hdparm-9.43-close_fd.patch

aec3f8
Index: hdparm-9.43/fallocate.c
aec3f8
===================================================================
aec3f8
--- hdparm-9.43.orig/fallocate.c
aec3f8
+++ hdparm-9.43/fallocate.c
aec3f8
@@ -41,6 +41,7 @@ int do_fallocate_syscall (const char *pa
aec3f8
 			exit(0);
aec3f8
 		}
aec3f8
 		err = errno;
aec3f8
+		close(fd);
aec3f8
 		unlink(path);
aec3f8
 	}
aec3f8
 	perror(path);