Skip to contentSkip to conversation

buffer_read_full_page:make comments tidy

PATCH New Wanpeng Li 1 participant 1 message Jun 4, 2012 VFS

lore
Share & tools
lore

Wanpeng Li

author
#0 lore raw

PATCH 1/1 buffer_read_full_page:make comments tidy

From: Wanpeng Li <[email protected]>

Since the function has already have comments "Stage two: xxx" and "Stage 3: xxx", so add "Stage one: xxx" in order to make comments tidy.

---
 fs/buffer.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/buffer.c +2 -1
index ad5938c..e49b6a1 100644
@@ -2086,6 +2086,7 @@ int block_read_full_page(struct page *page, get_block_t *get_block)
 	nr = 0;
 	i = 0;
 
+	/* Stage one: find the buffers */
 	do {
 		if (buffer_uptodate(bh))
 			continue;
@@ -2138,7 +2139,7 @@ int block_read_full_page(struct page *page, get_block_t *get_block)
 	}
 
 	/*
-	 * Stage 3: start the IO.  Check for uptodateness
+	 * Stage three: start the IO.  Check for uptodateness
 	 * inside the buffer lock in case another process reading
 	 * the underlying blockdev brought it uptodate (the sct fix).
 	 */
Signature · 1 line
1.7.9.5