Fix subtract_deleg_from_list.

Also renamed the function to remove_deleg_lock. Also added missing owner
ref decrement when we free the delegation.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Initialize GPFS up ops before creating the thread.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Self deadlock in delegrecall_impl

The lock is pushed inside delegrecall_impl, so avoid calling it while
holding state_lock in queue_delegrecall

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