提交 814e1d25 编写于 作者: W Wang Sheng-Hui 提交者: Christoph Hellwig

cleanup: vfs: small comment fix for block_invalidatepage

The patch is aganist 3.1-rc3.
Signed-off-by: NWang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 39be79c1
...@@ -1470,13 +1470,13 @@ static void discard_buffer(struct buffer_head * bh) ...@@ -1470,13 +1470,13 @@ static void discard_buffer(struct buffer_head * bh)
} }
/** /**
* block_invalidatepage - invalidate part of all of a buffer-backed page * block_invalidatepage - invalidate part or all of a buffer-backed page
* *
* @page: the page which is affected * @page: the page which is affected
* @offset: the index of the truncation point * @offset: the index of the truncation point
* *
* block_invalidatepage() is called when all or part of the page has become * block_invalidatepage() is called when all or part of the page has become
* invalidatedby a truncate operation. * invalidated by a truncate operation.
* *
* block_invalidatepage() does not have to release all buffers, but it must * block_invalidatepage() does not have to release all buffers, but it must
* ensure that no dirty buffer is left outside @offset and that no I/O * ensure that no dirty buffer is left outside @offset and that no I/O
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册