Repository navigation
Commit 61cfce3
x86: mm: move mmap_sem unlock from mm_fault_error() to caller
commit 7fb08ec upstream.
This replaces four copies in various stages of mm_fault_error() handling
with just a single one. It will also allow for more natural placement
of the unlocking after some further cleanup.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 299f459 commit 61cfce3
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
848 | 847 | | |
849 | 848 | | |
850 | | - | |
851 | | - | |
852 | 849 | | |
853 | 850 | | |
854 | 851 | | |
| |||
879 | 876 | | |
880 | 877 | | |
881 | 878 | | |
882 | | - | |
883 | 879 | | |
884 | 880 | | |
885 | 881 | | |
886 | 882 | | |
887 | 883 | | |
888 | 884 | | |
889 | 885 | | |
890 | | - | |
891 | 886 | | |
892 | 887 | | |
893 | 888 | | |
894 | 889 | | |
895 | 890 | | |
896 | | - | |
897 | | - | |
898 | 891 | | |
899 | 892 | | |
900 | 893 | | |
| |||
1249 | 1242 | | |
1250 | 1243 | | |
1251 | 1244 | | |
| 1245 | + | |
1252 | 1246 | | |
1253 | 1247 | | |
1254 | 1248 | | |
| |||
0 commit comments