Repository navigation
Commit dc6e8d6
committed
jbd2: don't call get_bh() before calling __jbd2_journal_remove_checkpoint()
The __jbd2_journal_remove_checkpoint() doesn't require an elevated
b_count; indeed, until the jh structure gets released by the call to
jbd2_journal_put_journal_head(), the bh's b_count is elevated by
virtue of the existence of the jh structure.
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 754cfed commit dc6e8d6
1 file changed
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 99 | | |
105 | 100 | | |
106 | | - | |
107 | | - | |
108 | 101 | | |
109 | 102 | | |
110 | 103 | | |
| |||
216 | 209 | | |
217 | 210 | | |
218 | 211 | | |
219 | | - | |
| 212 | + | |
220 | 213 | | |
221 | 214 | | |
222 | 215 | | |
| |||
291 | 284 | | |
292 | 285 | | |
293 | 286 | | |
294 | | - | |
295 | 287 | | |
296 | 288 | | |
297 | 289 | | |
298 | | - | |
299 | 290 | | |
300 | 291 | | |
301 | 292 | | |
| |||
338 | 329 | | |
339 | 330 | | |
340 | 331 | | |
341 | | - | |
| 332 | + | |
342 | 333 | | |
343 | 334 | | |
344 | | - | |
345 | 335 | | |
346 | 336 | | |
| 337 | + | |
347 | 338 | | |
348 | 339 | | |
349 | 340 | | |
| |||
359 | 350 | | |
360 | 351 | | |
361 | 352 | | |
362 | | - | |
363 | | - | |
| 353 | + | |
| 354 | + | |
364 | 355 | | |
365 | 356 | | |
366 | 357 | | |
| |||
0 commit comments