aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2011-08-31 20:22:57 -0400
committerChristoph Hellwig <hch@serles.lst.de>2011-10-28 07:55:08 -0400
commit814e1d25a59662f9552e6dc1305d1df3616fc87e (patch)
treeb9ecde84785c4ff56fd7fa30ae0b34357028e2dd /fs/buffer.c
parent39be79c16f2b8eb07dd0d4e965cddfe39cc0534a (diff)
cleanup: vfs: small comment fix for block_invalidatepage
The patch is aganist 3.1-rc3. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 1a80b048ade8..936d6035f6e2 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1470,13 +1470,13 @@ static void discard_buffer(struct buffer_head * bh)
1470} 1470}
1471 1471
1472/** 1472/**
1473 * block_invalidatepage - invalidate part of all of a buffer-backed page 1473 * block_invalidatepage - invalidate part or all of a buffer-backed page
1474 * 1474 *
1475 * @page: the page which is affected 1475 * @page: the page which is affected
1476 * @offset: the index of the truncation point 1476 * @offset: the index of the truncation point
1477 * 1477 *
1478 * block_invalidatepage() is called when all or part of the page has become 1478 * block_invalidatepage() is called when all or part of the page has become
1479 * invalidatedby a truncate operation. 1479 * invalidated by a truncate operation.
1480 * 1480 *
1481 * block_invalidatepage() does not have to release all buffers, but it must 1481 * block_invalidatepage() does not have to release all buffers, but it must
1482 * ensure that no dirty buffer is left outside @offset and that no I/O 1482 * ensure that no dirty buffer is left outside @offset and that no I/O