From c8a4d67f6582deb193d7a0f5e0ad9c5404b251bd Mon Sep 17 00:00:00 2001 From: himanshi1505 Date: Sat, 25 Apr 2026 00:16:19 +0530 Subject: [PATCH] docs(p23-sleeplocks): fix subject-verb agreement 'release' -> 'releases' --- p23-sleeplocks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p23-sleeplocks.md b/p23-sleeplocks.md index 5dc88ba..634f22b 100644 --- a/p23-sleeplocks.md +++ b/p23-sleeplocks.md @@ -16,5 +16,5 @@ sleep lock is acquired, its `locked` flag is simply set to `1`; release sets it to `0`. While acquiring, if we find that the `locked` flag is already set, the process just sleeps on the lock. It gets woken up when the sleep lock is released. -`bio.c` acquires the buffer's sleep lock in `bget` and release it in `brelse`. +`bio.c` acquires the buffer's sleep lock in `bget` and releases it in `brelse`. Similarly, inodes are synchronized using sleep locks. \ No newline at end of file