Repository navigation
Commit afdb571
btrfs: simplify btrfs_wait_cache_io prototype
With the exception of the one case where btrfs_wait_cache_io is called
without a block group, it's called with the same arguments. The root
argument is only used in the special case, so let's factor out the core
and simplify the call in the normal case to require a trans, block group,
and path.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 71ff643 commit afdb571
3 files changed
Lines changed: 34 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3610 | 3610 | | |
3611 | 3611 | | |
3612 | 3612 | | |
3613 | | - | |
3614 | | - | |
3615 | | - | |
| 3613 | + | |
3616 | 3614 | | |
3617 | 3615 | | |
3618 | 3616 | | |
| |||
3767 | 3765 | | |
3768 | 3766 | | |
3769 | 3767 | | |
3770 | | - | |
3771 | | - | |
3772 | | - | |
| 3768 | + | |
3773 | 3769 | | |
3774 | 3770 | | |
3775 | 3771 | | |
| |||
3839 | 3835 | | |
3840 | 3836 | | |
3841 | 3837 | | |
3842 | | - | |
3843 | | - | |
| 3838 | + | |
3844 | 3839 | | |
3845 | 3840 | | |
3846 | 3841 | | |
| |||
10383 | 10378 | | |
10384 | 10379 | | |
10385 | 10380 | | |
10386 | | - | |
10387 | | - | |
10388 | | - | |
| 10381 | + | |
10389 | 10382 | | |
10390 | 10383 | | |
10391 | 10384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
244 | 248 | | |
245 | 249 | | |
246 | 250 | | |
247 | | - | |
248 | | - | |
249 | | - | |
| 251 | + | |
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
| |||
1139 | 1141 | | |
1140 | 1142 | | |
1141 | 1143 | | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1147 | 1149 | | |
1148 | 1150 | | |
1149 | 1151 | | |
| |||
1154 | 1156 | | |
1155 | 1157 | | |
1156 | 1158 | | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | 1159 | | |
1161 | 1160 | | |
1162 | 1161 | | |
| |||
1207 | 1206 | | |
1208 | 1207 | | |
1209 | 1208 | | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1210 | 1226 | | |
1211 | 1227 | | |
1212 | 1228 | | |
| |||
3541 | 3557 | | |
3542 | 3558 | | |
3543 | 3559 | | |
3544 | | - | |
| 3560 | + | |
3545 | 3561 | | |
3546 | 3562 | | |
3547 | 3563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | | - | |
74 | | - | |
| 72 | + | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
0 commit comments