WIP: Code for CB_GETATTR

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