Commit d9df2783 authored by Yan, Zheng's avatar Yan, Zheng
Browse files

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: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent f98a128a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment