Moved open-ATAPI-as-RW check to before open-first-time check.. otherwise you can open an ATAPI device as RW if it's already opened for read.
Moved open-ATAPI-as-RW check to before open-first-time check.. otherwise
you can open an ATAPI device as RW if it's already opened for read.


danielbarter/minix_book,veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,danielbarter/minix_book,danielbarter/minix_book,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi