gdev: fixed access/block lock