Blame SOURCES/hdparm-9.43-close_fd.patch

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