summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libappfuse/FuseBridgeLoop.cc')
-rw-r--r--libappfuse/FuseBridgeLoop.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libappfuse/FuseBridgeLoop.cc b/libappfuse/FuseBridgeLoop.cc
index 07923071b..8b0c53eb2 100644
--- a/libappfuse/FuseBridgeLoop.cc
+++ b/libappfuse/FuseBridgeLoop.cc
@@ -179,7 +179,11 @@ class FuseBridgeEntry {
179 } 179 }
180 180
181 const uint32_t opcode = buffer_.request.header.opcode; 181 const uint32_t opcode = buffer_.request.header.opcode;
182 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode; 182 const uint64_t unique = buffer_.request.header.unique;
183 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique;
184 if (unique == 0) {
185 return FuseBridgeState::kWaitToReadEither;
186 }
183 switch (opcode) { 187 switch (opcode) {
184 case FUSE_FORGET: 188 case FUSE_FORGET:
185 // Do not reply to FUSE_FORGET. 189 // Do not reply to FUSE_FORGET.