Fixes refcnt in devmnt

Using krefs directly.