diff options
author | Sage Weil <sage@newdream.net> | 2010-03-16 13:42:00 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-03-23 07:46:54 -0700 |
commit | 15637c8b1251c38694c32214eba69b72a30e9d9b (patch) | |
tree | a410e4db868f75dbace870930b9b032b877a552d /kernel | |
parent | cdc2ce056a3620139056b60ad7f6d355ad13f445 (diff) | |
download | op-kernel-dev-15637c8b1251c38694c32214eba69b72a30e9d9b.zip op-kernel-dev-15637c8b1251c38694c32214eba69b72a30e9d9b.tar.gz |
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: Sage Weil <sage@newdream.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions