commit | d9df2783507943316b305e177e5b1c157200c76f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Fri Apr 18 09:57:11 2014 +0800 |
committer | Yan, Zheng <zheng.z.yan@intel.com> | Fri Jun 06 09:29:53 2014 +0800 |
tree | a351bc67fc9ae0b3d367d232657cf28136888f66 | |
parent | f98a128a55ff85d0087de89f304f10bd75e792aa [diff] |
ceph: pre-allocate ceph_cap struct for ceph_add_cap() 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>