block: re-use existing 'reading' variable instead of checking direction again
Signed-off-by: Nmajianpeng <majianpeng@gmail.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录
Signed-off-by: Nmajianpeng <majianpeng@gmail.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>