Commit 20c9801
committed
btrfs: drop checks for mandatory extent_io_ops callbacks
We know that eadpage_end_io_hook, submit_bio_hook and merge_bio_hook are
always defined so we can drop the checks before we call them.
Signed-off-by: David Sterba <[email protected]>1 parent 4d53ddd commit 20c9801
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2567 | 2567 | | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | | - | |
2571 | | - | |
| 2570 | + | |
2572 | 2571 | | |
2573 | 2572 | | |
2574 | 2573 | | |
| |||
2731 | 2730 | | |
2732 | 2731 | | |
2733 | 2732 | | |
2734 | | - | |
| 2733 | + | |
2735 | 2734 | | |
2736 | 2735 | | |
2737 | 2736 | | |
| |||
2746 | 2745 | | |
2747 | 2746 | | |
2748 | 2747 | | |
2749 | | - | |
| 2748 | + | |
2750 | 2749 | | |
2751 | 2750 | | |
2752 | 2751 | | |
| |||
0 commit comments