ceph: pre-allocate ceph_cap struct for ceph_add_cap()
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 18 Apr 2014 01:57:11 +0000 (09:57 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:53 +0000 (09:29 +0800)
So that ceph_add_cap() can be used while i_ceph_lock is locked.
This simplifies the code that handle cap import/export.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>

No differences found