Repository navigation
Commit 6005679
committed
BKL: Remove BKL from OCFS2
The BKL in ocfs2/dlmfs is used in put_super, fill_super and remount_fs
that are all three protected by the superblocks s_umount rw_semaphore.
The use in ocfs2_control_open is evidently unrelated and the function
is protected by ocfs2_control_lock.
Therefore it is safe to remove the BKL entirely.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <joel.becker@oracle.com>1 parent 3dbc4b3 commit 6005679
3 files changed
Lines changed: 1 addition & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
589 | 588 | | |
590 | 589 | | |
591 | 590 | | |
592 | | - | |
593 | | - | |
594 | 591 | | |
595 | 592 | | |
596 | 593 | | |
597 | 594 | | |
598 | 595 | | |
599 | 596 | | |
600 | | - | |
601 | | - | |
| 597 | + | |
602 | 598 | | |
603 | | - | |
604 | 599 | | |
605 | 600 | | |
606 | 601 | | |
607 | 602 | | |
608 | | - | |
609 | 603 | | |
610 | 604 | | |
611 | 605 | | |
612 | | - | |
613 | 606 | | |
614 | 607 | | |
615 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
612 | 611 | | |
613 | 612 | | |
614 | 613 | | |
615 | | - | |
616 | 614 | | |
617 | 615 | | |
618 | 616 | | |
619 | 617 | | |
620 | | - | |
621 | 618 | | |
622 | 619 | | |
623 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
613 | | - | |
614 | 612 | | |
615 | 613 | | |
616 | 614 | | |
| |||
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
720 | | - | |
721 | 718 | | |
722 | 719 | | |
723 | 720 | | |
| |||
1002 | 999 | | |
1003 | 1000 | | |
1004 | 1001 | | |
1005 | | - | |
1006 | | - | |
1007 | 1002 | | |
1008 | 1003 | | |
1009 | 1004 | | |
| |||
1181 | 1176 | | |
1182 | 1177 | | |
1183 | 1178 | | |
1184 | | - | |
1185 | 1179 | | |
1186 | 1180 | | |
1187 | 1181 | | |
| |||
1196 | 1190 | | |
1197 | 1191 | | |
1198 | 1192 | | |
1199 | | - | |
1200 | 1193 | | |
1201 | 1194 | | |
1202 | 1195 | | |
| |||
1212 | 1205 | | |
1213 | 1206 | | |
1214 | 1207 | | |
1215 | | - | |
1216 | 1208 | | |
1217 | 1209 | | |
1218 | 1210 | | |
| |||
1645 | 1637 | | |
1646 | 1638 | | |
1647 | 1639 | | |
1648 | | - | |
1649 | | - | |
1650 | 1640 | | |
1651 | 1641 | | |
1652 | 1642 | | |
1653 | | - | |
1654 | | - | |
1655 | 1643 | | |
1656 | 1644 | | |
1657 | 1645 | | |
| |||
0 commit comments