summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mds/Capability.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mds/Capability.h b/src/mds/Capability.h
index f3743281c90..6fe67f45b1d 100644
--- a/src/mds/Capability.h
+++ b/src/mds/Capability.h
@@ -297,7 +297,8 @@ public:
int newpending = other.pending | pending();
if (other.issued & ~newpending)
issue(other.issued | newpending);
- issue(newpending);
+ else
+ issue(newpending);
last_issue_stamp = other.last_issue_stamp;
client_follows = other.client_follows;
@@ -311,7 +312,8 @@ public:
int newpending = pending();
if (otherissued & ~newpending)
issue(otherissued | newpending);
- issue(newpending);
+ else
+ issue(newpending);
// wanted
_wanted = _wanted | otherwanted;