Commit b799220
Kent Overstreet
bcachefs: Add missing synchronize_srcu_expedited() call when shutting down
We use the polling interface to srcu for tracking pending frees; when
shutting down we don't need to wait for an srcu barrier to free them,
but SRCU still gets confused if we shutdown with an outstanding grace
period.
Reported-by: syzbot+6a038377f0a594d7d44e@syzkaller.appspotmail.com
Reported-by: syzbot+0ece6edfd05ed20e32d9@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent 9432e90 commit b799220
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3401 | 3401 | | |
3402 | 3402 | | |
3403 | 3403 | | |
3404 | | - | |
| 3404 | + | |
| 3405 | + | |
3405 | 3406 | | |
| 3407 | + | |
3406 | 3408 | | |
3407 | 3409 | | |
3408 | 3410 | | |
| |||
0 commit comments