Skip to content
Commit 15637c8b authored by Sage Weil's avatar Sage Weil
Browse files

ceph: clean up handle_cap_grant, handle_caps wrt session mutex



Drop session mutex unconditionally in handle_cap_grant, and do the
check_caps from the handle_cap_grant helper.  This avoids using a magic
return value.

Also avoid using a flag variable in the IMPORT case and call
check_caps at the appropriate point.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent cdc2ce05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment