• J
    Btrfs: pass locked_page into extent_clear_unlock_delalloc if theres an error · beb42dd7
    Josef Bacik 提交于
    While doing my enospc work I got a transaction abortion that resulted in a
    panic when we tried to unlock_page() an already unlocked page.  This is
    because we aren't calling extent_clear_unlock_delalloc with the locked page
    so it was unlocking all the pages in the range.  This is wrong since
    __extent_writepage expects to have the page locked still unless we return
    *page_started as 1.  This should keep us from panicing.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    beb42dd7
inode.c 201.7 KB