]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Monitor/check_array: Reduce duplicated error handling
authorJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 20:38:06 +0000 (16:38 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 20:38:06 +0000 (16:38 -0400)
commit13e5d8455c22d4db420ead9fde3ee0c1536b73a3
tree4293888f59d6e85408d6d2610857b47eb9a6a7da
parent1830e74b4cbde28279f341bc80b68e9d82df32c6
Monitor/check_array: Reduce duplicated error handling

Avoid closing fd in multiple places, and duplicating the error message
for when a device disappeared.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Monitor.c