Use CREATE_BY_NAME_ATTR

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>