Commit 01b5d32
raid5-cache: hold spinlock instead of mutex in r5c_journal_mode_show
Replace mddev_lock with spin_lock to align with other show methods in
raid5_attrs.
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>1 parent b3db8a2 commit 01b5d32
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2537 | 2537 | | |
2538 | 2538 | | |
2539 | 2539 | | |
2540 | | - | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
| 2540 | + | |
2544 | 2541 | | |
2545 | 2542 | | |
2546 | | - | |
| 2543 | + | |
2547 | 2544 | | |
2548 | 2545 | | |
2549 | 2546 | | |
| |||
2563 | 2560 | | |
2564 | 2561 | | |
2565 | 2562 | | |
2566 | | - | |
| 2563 | + | |
2567 | 2564 | | |
2568 | 2565 | | |
2569 | 2566 | | |
| |||
0 commit comments