]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
super-intel.c: Don't try to close negative fd
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 4 May 2012 11:41:21 +0000 (13:41 +0200)
committerNeilBrown <neilb@suse.de>
Sun, 6 May 2012 23:08:36 +0000 (09:08 +1000)
commit36614e95466720619f458195f1a0486d7ff32c44
tree0499316b4658d0ceb925238a29aa82fb32826e46
parentb0a658ffbcd2104594e8a7a185fa0fe05127723e
super-intel.c: Don't try to close negative fd

This should be harmless, but lets be consistent and not try to close a
negative file descripter.

Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c