@@ -921,7 +921,7 @@ ReadBuffer_common(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
921
921
*
922
922
* Since no-one else can be looking at the page contents yet, there is no
923
923
* difference between an exclusive lock and a cleanup-strength lock. (Note
924
- * that we cannot use LockBuffer()of LockBufferForCleanup() here, because
924
+ * that we cannot use LockBuffer()or LockBufferForCleanup() here, because
925
925
* they assert that the buffer is already valid.)
926
926
*/
927
927
if ((mode == RBM_ZERO_AND_LOCK || mode == RBM_ZERO_AND_CLEANUP_LOCK )&&
@@ -1882,7 +1882,7 @@ BufferSync(int flags)
1882
1882
* and clears the flag right after we check, but that doesn't matter
1883
1883
* since SyncOneBuffer will then do nothing. However, there is a
1884
1884
* further race condition: it's conceivable that between the time we
1885
- * examine the bit here and the time SyncOneBuffer acquires lock,
1885
+ * examine the bit here and the time SyncOneBuffer acquiresthe lock,
1886
1886
* someone else not only wrote the buffer but replaced it with another
1887
1887
* page and dirtied it. In that improbable case, SyncOneBuffer will
1888
1888
* write the buffer though we didn't need to. It doesn't seem worth