diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 946a7f1b32959aa42ad3ffbdb0d7bc094443a060..85fd86ea98308c3322ead1267b600433607946df 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6488,8 +6488,8 @@ int btrfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) if (!ret) return VM_FAULT_LOCKED; unlock_page(page); - btrfs_delalloc_release_space(inode, PAGE_CACHE_SIZE); out: + btrfs_delalloc_release_space(inode, PAGE_CACHE_SIZE); return ret; }