ceph: queue cap release in __ceph_remove_cap()
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 22 Sep 2013 02:15:58 +0000 (10:15 +0800)
committerSage Weil <sage@inktank.com>
Sat, 23 Nov 2013 19:00:59 +0000 (11:00 -0800)
commita096b09aeec6ff99edfdfd8cee24d6f25377d585
treed32a4a15cd391c2c84205c855e7d997070279cc6
parent81c6aea5275eae453719d7f3924da07e668265c5
ceph: queue cap release in __ceph_remove_cap()

call __queue_cap_release() in __ceph_remove_cap(), this avoids
acquiring s_cap_lock twice.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/caps.c
fs/ceph/mds_client.c
fs/ceph/super.h