Message ID | 20190213155348.31338-6-nborisov@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Cleanups around compress path | expand |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 7a1a4082f8b2..632fdadfb04d 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1199,8 +1199,7 @@ static int cow_file_range_async(struct inode *inode, struct page *locked_page, atomic_t *p; - clear_extent_bit(&BTRFS_I(inode)->io_tree, start, end, EXTENT_LOCKED, - 1, 0, NULL); + unlock_extent(&BTRFS_I(inode)->io_tree, start, end); if (BTRFS_I(inode)->flags & BTRFS_INODE_NOCOMPRESS && !btrfs_test_opt(fs_info, FORCE_COMPRESS)) {
Signed-off-by: Nikolay Borisov <nborisov@suse.com> --- fs/btrfs/inode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)