Blame SOURCES/hdparm-9.43-close_fd.patch

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