• D
    xfs: remove xfs_flush_pages · 4bc1ea6b
    Dave Chinner 提交于
    It is a complex wrapper around VFS functions, but there are VFS
    functions that provide exactly the same functionality. Call the VFS
    functions directly and remove the unnecessary indirection and
    complexity.
    
    We don't need to care about clearing the XFS_ITRUNCATED flag, as
    that is done during .writepages. Hence is cleared by the VFS
    writeback path if there is anything to write back during the flush.
    Signed-off-by: NDave Chinner <dchinner@redhat.com>
    Reviewed-by: NAndrew Dahl <adahl@sgi.com>
    Signed-off-by: NBen Myers <bpm@sgi.com>
    4bc1ea6b
xfs_fs_subr.c 1.4 KB