diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-06-03 14:22:17 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-04 02:32:46 +0400 |
commit | bb137f84d1d8f692233b590f7cae14abbdc1e0c1 (patch) | |
tree | 393f01adbf4b55b590f8831b5a7aa3ab96ccbf06 /fs/ceph/mds_client.c | |
parent | ccca4e37b1a912da3db68aee826557ea66145273 (diff) | |
download | linux-bb137f84d1d8f692233b590f7cae14abbdc1e0c1.tar.xz |
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 <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/mds_client.c')
0 files changed, 0 insertions, 0 deletions