diff options
| -rw-r--r-- | fs/bio.c | 2 | ||||
| -rw-r--r-- | include/linux/writeback.h | 1 |
2 files changed, 1 insertions, 2 deletions
| @@ -1312,7 +1312,7 @@ EXPORT_SYMBOL(bio_copy_kern); | |||
| 1312 | * Note that this code is very hard to test under normal circumstances because | 1312 | * Note that this code is very hard to test under normal circumstances because |
| 1313 | * direct-io pins the pages with get_user_pages(). This makes | 1313 | * direct-io pins the pages with get_user_pages(). This makes |
| 1314 | * is_page_cache_freeable return false, and the VM will not clean the pages. | 1314 | * is_page_cache_freeable return false, and the VM will not clean the pages. |
| 1315 | * But other code (eg, pdflush) could clean the pages if they are mapped | 1315 | * But other code (eg, flusher threads) could clean the pages if they are mapped |
| 1316 | * pagecache. | 1316 | * pagecache. |
| 1317 | * | 1317 | * |
| 1318 | * Simply disabling the call to bio_set_pages_dirty() is a good way to test the | 1318 | * Simply disabling the call to bio_set_pages_dirty() is a good way to test the |
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index c66fe3332d83..50c3e8fa06a8 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -104,7 +104,6 @@ static inline void wait_on_inode(struct inode *inode) | |||
| 104 | wait_on_bit(&inode->i_state, __I_NEW, inode_wait, TASK_UNINTERRUPTIBLE); | 104 | wait_on_bit(&inode->i_state, __I_NEW, inode_wait, TASK_UNINTERRUPTIBLE); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | |||
| 108 | /* | 107 | /* |
| 109 | * mm/page-writeback.c | 108 | * mm/page-writeback.c |
| 110 | */ | 109 | */ |
