From: Yan, Zheng Date: Fri, 18 Apr 2014 01:57:11 +0000 (+0800) Subject: ceph: pre-allocate ceph_cap struct for ceph_add_cap() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~24^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9df2783507943316b305e177e5b1c157200c76f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed