diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index aa68206bd517..424165b569f8 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -1026,11 +1026,6 @@ failed: | |||
1026 | /* | 1026 | /* |
1027 | * Create buffers for the specified block device block's page. If | 1027 | * Create buffers for the specified block device block's page. If |
1028 | * that page was dirty, the buffers are set dirty also. | 1028 | * that page was dirty, the buffers are set dirty also. |
1029 | * | ||
1030 | * Except that's a bug. Attaching dirty buffers to a dirty | ||
1031 | * blockdev's page can result in filesystem corruption, because | ||
1032 | * some of those buffers may be aliases of filesystem data. | ||
1033 | * grow_dev_page() will go BUG() if this happens. | ||
1034 | */ | 1029 | */ |
1035 | static int | 1030 | static int |
1036 | grow_buffers(struct block_device *bdev, sector_t block, int size) | 1031 | grow_buffers(struct block_device *bdev, sector_t block, int size) |