diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f1df11718618..e494545c4202 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -854,7 +854,7 @@ static int cow_file_range_async(struct inode *inode, struct page *locked_page, | |||
854 | int limit = 10 * 1024 * 1042; | 854 | int limit = 10 * 1024 * 1042; |
855 | 855 | ||
856 | clear_extent_bit(&BTRFS_I(inode)->io_tree, start, end, EXTENT_LOCKED | | 856 | clear_extent_bit(&BTRFS_I(inode)->io_tree, start, end, EXTENT_LOCKED | |
857 | EXTENT_DELALLOC, 1, 0, GFP_NOFS); | 857 | EXTENT_DELALLOC, 1, 0, NULL, GFP_NOFS); |
858 | while (start < end) { | 858 | while (start < end) { |
859 | async_cow = kmalloc(sizeof(*async_cow), GFP_NOFS); | 859 | async_cow = kmalloc(sizeof(*async_cow), GFP_NOFS); |
860 | async_cow->inode = inode; | 860 | async_cow->inode = inode; |
@@ -4420,7 +4420,7 @@ static void btrfs_invalidatepage(struct page *page, unsigned long offset) | |||
4420 | */ | 4420 | */ |
4421 | clear_extent_bit(tree, page_start, page_end, | 4421 | clear_extent_bit(tree, page_start, page_end, |
4422 | EXTENT_DIRTY | EXTENT_DELALLOC | | 4422 | EXTENT_DIRTY | EXTENT_DELALLOC | |
4423 | EXTENT_LOCKED, 1, 0, GFP_NOFS); | 4423 | EXTENT_LOCKED, 1, 0, NULL, GFP_NOFS); |
4424 | btrfs_finish_ordered_io(page->mapping->host, | 4424 | btrfs_finish_ordered_io(page->mapping->host, |
4425 | page_start, page_end); | 4425 | page_start, page_end); |
4426 | btrfs_put_ordered_extent(ordered); | 4426 | btrfs_put_ordered_extent(ordered); |
@@ -4429,7 +4429,7 @@ static void btrfs_invalidatepage(struct page *page, unsigned long offset) | |||
4429 | clear_extent_bit(tree, page_start, page_end, | 4429 | clear_extent_bit(tree, page_start, page_end, |
4430 | EXTENT_LOCKED | EXTENT_DIRTY | EXTENT_DELALLOC | | 4430 | EXTENT_LOCKED | EXTENT_DIRTY | EXTENT_DELALLOC | |
4431 | EXTENT_ORDERED, | 4431 | EXTENT_ORDERED, |
4432 | 1, 1, GFP_NOFS); | 4432 | 1, 1, NULL, GFP_NOFS); |
4433 | __btrfs_releasepage(page, GFP_NOFS); | 4433 | __btrfs_releasepage(page, GFP_NOFS); |
4434 | 4434 | ||
4435 | ClearPageChecked(page); | 4435 | ClearPageChecked(page); |