[PATCH] md: Don't assume that READ==0 and WRITE==1 - use the names explicitly