add inner lock for dirFromHandle(). and make up some comment.