summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 13:41:48 +0100
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 13:41:48 +0100
commit17aa1b40927015f14397641134570e037798ae21 (patch)
tree63d43dc24d5c89fc30ff370241c13a925588813d /src
parentmds/Server.cc: reduce scope of some variables (diff)
downloadceph-17aa1b40927015f14397641134570e037798ae21.tar.xz
ceph-17aa1b40927015f14397641134570e037798ae21.zip
mds/flock.cc: remove unused variable 'crossed_waiting_locks'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src')
-rw-r--r--src/mds/flock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/flock.cc b/src/mds/flock.cc
index 0deb900f0b0..b2885177841 100644
--- a/src/mds/flock.cc
+++ b/src/mds/flock.cc
@@ -124,7 +124,7 @@ void ceph_lock_state_t::remove_lock(ceph_filelock removal_lock,
list<ceph_filelock>& activated_locks)
{
list<multimap<uint64_t, ceph_filelock>::iterator> overlapping_locks,
- self_overlapping_locks, crossed_waiting_locks;
+ self_overlapping_locks;
if (get_overlapping_locks(removal_lock, overlapping_locks)) {
dout(15) << "splitting by owner" << dendl;
split_by_owner(removal_lock, overlapping_locks, self_overlapping_locks);