fix restore on mknod
Change-Id: I9fb8b927f81a8cded651e42026beb3d5c252d1e8