From: Anand Jain Date: Tue, 6 Dec 2016 04:43:07 +0000 (+0800) Subject: btrfs: use BTRFS_COMPRESS_NONE to specify no compression X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f74670f7132b002b5ee41edbc8d323500bf490b2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git btrfs: use BTRFS_COMPRESS_NONE to specify no compression Signed-off-by: Anand Jain Signed-off-by: David Sterba --- diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ed9e04990bec..c2fc5357166a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -541,7 +541,7 @@ cont: * to make an uncompressed inline extent. */ ret = cow_file_range_inline(root, inode, start, end, - 0, 0, NULL); + 0, BTRFS_COMPRESS_NONE, NULL); } else { /* try making a compressed inline extent */ ret = cow_file_range_inline(root, inode, start, end, @@ -972,8 +972,8 @@ static noinline int cow_file_range(struct inode *inode, if (start == 0) { /* lets try to make an inline extent */ - ret = cow_file_range_inline(root, inode, start, end, 0, 0, - NULL); + ret = cow_file_range_inline(root, inode, start, end, 0, + BTRFS_COMPRESS_NONE, NULL); if (ret == 0) { extent_clear_unlock_delalloc(inode, start, end, delalloc_end, NULL,