mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
btrfs: use BTRFS_COMPRESS_NONE to specify no compression
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
1aceabf362
commit
f74670f713
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue