refactor code in disk busy

Calculating the return value of disk_busy function is unnecessarily complicated.

I refactored the code.