Home
last modified time | relevance | path

Searched hist:"15637 c8b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dcaps.c15637c8b Tue Mar 16 15:42:00 CDT 2010 Sage Weil <sage@newdream.net> 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>
15637c8b Tue Mar 16 15:42:00 CDT 2010 Sage Weil <sage@newdream.net> 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>