summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/block/block_ext.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2021-05-11 16:34:01 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-11 06:59:30 +0000
commit53b252b212696c6ad85508f6db9e51724296fcd1 (patch)
treecf2bb72d8c22fe4cb2bf3df1ec2f1c3b91092326 /src/third_party/wiredtiger/src/block/block_ext.c
parent25040e38149fec631205966b5dc90eb55b9be182 (diff)
downloadmongo-53b252b212696c6ad85508f6db9e51724296fcd1.tar.gz
Import wiredtiger: 7a0717c8cfdabbc0470b5e322c737bb45f7ca6df from branch mongodb-5.0
ref: 7840141fbf..7a0717c8cf for: 5.0.0 WT-7506 Allow single and double quotes inside auto-formatted comments
Diffstat (limited to 'src/third_party/wiredtiger/src/block/block_ext.c')
-rw-r--r--src/third_party/wiredtiger/src/block/block_ext.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/block/block_ext.c b/src/third_party/wiredtiger/src/block/block_ext.c
index 0deaef04654..310330da831 100644
--- a/src/third_party/wiredtiger/src/block/block_ext.c
+++ b/src/third_party/wiredtiger/src/block/block_ext.c
@@ -280,18 +280,16 @@ __wt_block_misplaced(WT_SESSION_IMPL *session, WT_BLOCK *block, const char *list
return (0);
/*
- * Verify a block the btree engine thinks it "owns" doesn't appear on
- * the available or discard lists (it might reasonably be on the alloc
- * list, if it was allocated since the last checkpoint). The engine
- * "owns" a block if it's trying to read or free the block, and those
+ * Verify a block the btree engine thinks it "owns" doesn't appear on the available or discard
+ * lists (it might reasonably be on the alloc list, if it was allocated since the last
+ * checkpoint). The engine "owns" a block if it's trying to read or free the block, and those
* functions make this check.
*
* Any block being read or freed should not be "available".
*
- * Any block being read or freed in the live system should not be on the
- * discard list. (A checkpoint handle might be reading a block which is
- * on the live system's discard list; any attempt to free a block from a
- * checkpoint handle has already failed.)
+ * Any block being read or freed in the live system should not be on the discard list. (A
+ * checkpoint handle might be reading a block which is on the live system's discard list; any
+ * attempt to free a block from a checkpoint handle has already failed.)
*/
__wt_spin_lock(session, &block->live_lock);
if (__block_off_match(&block->live.avail, offset, size))