diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index dcc5faa573ba..630df3e6fe0c 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -333,7 +333,7 @@ out: | |||
333 | we think the disk contains more recent information than the buffercache. | 333 | we think the disk contains more recent information than the buffercache. |
334 | The update == 1 pass marks the buffers we need to update, the update == 2 | 334 | The update == 1 pass marks the buffers we need to update, the update == 2 |
335 | pass does the actual I/O. */ | 335 | pass does the actual I/O. */ |
336 | void invalidate_bdev(struct block_device *bdev, int destroy_dirty_buffers) | 336 | void invalidate_bdev(struct block_device *bdev) |
337 | { | 337 | { |
338 | struct address_space *mapping = bdev->bd_inode->i_mapping; | 338 | struct address_space *mapping = bdev->bd_inode->i_mapping; |
339 | 339 | ||
@@ -341,11 +341,6 @@ void invalidate_bdev(struct block_device *bdev, int destroy_dirty_buffers) | |||
341 | return; | 341 | return; |
342 | 342 | ||
343 | invalidate_bh_lrus(); | 343 | invalidate_bh_lrus(); |
344 | /* | ||
345 | * FIXME: what about destroy_dirty_buffers? | ||
346 | * We really want to use invalidate_inode_pages2() for | ||
347 | * that, but not until that's cleaned up. | ||
348 | */ | ||
349 | invalidate_mapping_pages(mapping, 0, -1); | 344 | invalidate_mapping_pages(mapping, 0, -1); |
350 | } | 345 | } |
351 | 346 | ||