提交 4a2d4459 编写于 作者: E Eric W. Biederman 提交者: Linus Torvalds

buffer: kill old incorrect comment

Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c5c061b8
...@@ -1026,11 +1026,6 @@ grow_dev_page(struct block_device *bdev, sector_t block, ...@@ -1026,11 +1026,6 @@ grow_dev_page(struct block_device *bdev, sector_t block,
/* /*
* Create buffers for the specified block device block's page. If * Create buffers for the specified block device block's page. If
* that page was dirty, the buffers are set dirty also. * that page was dirty, the buffers are set dirty also.
*
* Except that's a bug. Attaching dirty buffers to a dirty
* blockdev's page can result in filesystem corruption, because
* some of those buffers may be aliases of filesystem data.
* grow_dev_page() will go BUG() if this happens.
*/ */
static int static int
grow_buffers(struct block_device *bdev, sector_t block, int size) grow_buffers(struct block_device *bdev, sector_t block, int size)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册