The previous code was probably a typo. This patch doesn't bring any measurable performance improvements, but still prevents the fd from being corrupted. Signed-off-by: Dariusz Stojaczyk <darek.stojaczyk@gmail.com>