Commit 4a2d4459 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

buffer: kill old incorrect comment

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c5c061b8
......@@ -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
* 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
grow_buffers(struct block_device *bdev, sector_t block, int size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment