Lock_grant clean up

Fixed mixing enums. No functional change as CACHE_INODE_SUCCESS and
STATE_SUCCESS evaluate to zero! Coverity CID# 30327

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>