[PATCH v2 0/9] of: fix bugs about refcount