• C
    Fix corners in writepage and btrfs_truncate_page · 211c17f5
    Chris Mason 提交于
    The extent_io writepage calls needed an extra check for discarding
    pages that started on th last byte in the file.
    
    btrfs_truncate_page needed checks to make sure the page was still part
    of the file after reading it, and most importantly, needed to wait for
    all IO to the page to finish before freeing the corresponding extents on
    disk.
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    211c17f5
inode.c 94.8 KB