From: Yan, Zheng Date: Mon, 3 Jun 2013 10:22:17 +0000 (+0800) Subject: ceph: fix cap release race X-Git-Tag: v3.11-rc1~69^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb137f84d1d8f692233b590f7cae14abbdc1e0c1;p=pandora-kernel.git ceph: fix cap release race ceph_encode_inode_release() can race with ceph_open() and release caps wanted by open files. So it should call __ceph_caps_wanted() to get the wanted caps. Signed-off-by: Yan, Zheng Reviewed-by: Sage Weil --- Reading git-diff-tree failed