• Christoph Hellwig's avatar
    xfs: simplify xfs_vm_releasepage · 89f3b363
    Christoph Hellwig authored
    Currently the xfs releasepage implementation has code to deal with converting
    delayed allocated and unwritten space.  But we never get called for those as
    we always convert delayed and unwritten space when cleaning a page, or drop
    the state from the buffers in block_invalidatepage.  We still keep a WARN_ON
    on those cases for now, but remove all the case dealing with it, which allows
    to fold xfs_page_state_convert into xfs_vm_writepage and remove the !startio
    case from the whole writeback path.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
    89f3b363
xfs_aops.c 39.1 KB