diff options
author | 2011-05-12 15:13:23 -0700 | |
---|---|---|
committer | 2011-05-19 11:25:03 -0700 | |
commit | 3540303f87115cbdae6ed2cab44ce6a7676d48d3 (patch) | |
tree | eb1003ac91370488972e3e5b126771707cf98a88 /net/ceph/osdmap.c | |
parent | libceph: use snprintf for unknown addrs (diff) | |
download | linux-dev-3540303f87115cbdae6ed2cab44ce6a7676d48d3.tar.xz linux-dev-3540303f87115cbdae6ed2cab44ce6a7676d48d3.zip |
ceph: fix rare potential cap leak
If we grab new_cap, retake the lock, and find we already have a cap now
for the given mds, release new_cap.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions