diff options
Diffstat (limited to '0043-RHBZ-590028-close-sysfs_attr_fd.patch')
-rw-r--r-- | 0043-RHBZ-590028-close-sysfs_attr_fd.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/0043-RHBZ-590028-close-sysfs_attr_fd.patch b/0043-RHBZ-590028-close-sysfs_attr_fd.patch new file mode 100644 index 0000000..890436f --- /dev/null +++ b/0043-RHBZ-590028-close-sysfs_attr_fd.patch @@ -0,0 +1,16 @@ +--- + libmultipath/sysfs.c | 1 + + 1 file changed, 1 insertion(+) + +Index: multipath-tools/libmultipath/sysfs.c +=================================================================== +--- multipath-tools.orig/libmultipath/sysfs.c ++++ multipath-tools/libmultipath/sysfs.c +@@ -407,6 +407,7 @@ sysfs_attr_set_value(const char *devpath + path_full, ret); + ret = -1; + } ++ close(fd); + out: + return ret; + } |