diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index b904c74f31fd..3b327c8cfb16 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -10547,10 +10547,13 @@ static const struct file_operations btrfs_dir_file_operations = { | |||
10547 | }; | 10547 | }; |
10548 | 10548 | ||
10549 | static const struct extent_io_ops btrfs_extent_io_ops = { | 10549 | static const struct extent_io_ops btrfs_extent_io_ops = { |
10550 | .fill_delalloc = run_delalloc_range, | 10550 | /* mandatory callbacks */ |
10551 | .submit_bio_hook = btrfs_submit_bio_hook, | 10551 | .submit_bio_hook = btrfs_submit_bio_hook, |
10552 | .merge_bio_hook = btrfs_merge_bio_hook, | ||
10553 | .readpage_end_io_hook = btrfs_readpage_end_io_hook, | 10552 | .readpage_end_io_hook = btrfs_readpage_end_io_hook, |
10553 | .merge_bio_hook = btrfs_merge_bio_hook, | ||
10554 | |||
10555 | /* optional callbacks */ | ||
10556 | .fill_delalloc = run_delalloc_range, | ||
10554 | .writepage_end_io_hook = btrfs_writepage_end_io_hook, | 10557 | .writepage_end_io_hook = btrfs_writepage_end_io_hook, |
10555 | .writepage_start_hook = btrfs_writepage_start_hook, | 10558 | .writepage_start_hook = btrfs_writepage_start_hook, |
10556 | .set_bit_hook = btrfs_set_bit_hook, | 10559 | .set_bit_hook = btrfs_set_bit_hook, |