summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-05-30 21:35:17 +0200
committerChris Mason <chris.mason@oracle.com>2012-06-15 03:29:09 +0200
commitbeb42dd793193a3d4e72970bfa73cd8810f63cea (patch)
tree8690e35c2da24fff82e61556b362cb736c8edf49 /fs/btrfs/disk-io.c
parentMerge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into for-l... (diff)
downloadlinux-beb42dd793193a3d4e72970bfa73cd8810f63cea.tar.xz
linux-beb42dd793193a3d4e72970bfa73cd8810f63cea.zip
Btrfs: pass locked_page into extent_clear_unlock_delalloc if theres an error
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: Josef Bacik <josef@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions