• D
    [PATCH] Fix JFS after clear_page_dirty() removal · d0e671a9
    Dave Kleikamp 提交于
    This patch removes some questionable code that attempted to make a
    no-longer-used page easier to reclaim.
    
    Calling metapage_writepage against such a page will not result in any
    I/O being performed, so removing this code shouldn't be a big deal.
    
    [ It's likely that we could have just replaced the "clear_page_dirty()"
      call with a call to "cancel_dirty_page()" instead, but in the
      meantime this is cleaner and simpler anyway, so unless there is some
      overriding reason (and Dave implies there isn't) I'll just use this
      patch as-is.			- Linus ]
    Signed-off-by: NDave Kleikamp <shaggy@linux.vnet.ibm.com>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    d0e671a9
jfs_metapage.c 19.5 KB