Translated the function signature and first line of hammer_vop_getattr() and hammer2_vop_getattr()