diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-11-18 09:51:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-11-18 09:51:04 -0800 |
| commit | 4405c18c95d2d0f99f6c581ef0ee8591a1aa6ccd (patch) | |
| tree | f07c049f80f98f71047c0a29a357de05e240e0ad /scripts | |
| parent | d866d5bafc5e1417032255002e95f8ec3121754b (diff) | |
| parent | a001666afbf9d2a6096fea95686549b9b1c9d968 (diff) | |
Merge tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull non-MM updates from Andrew Morton:
- "get_maintainer: stop sending every patch to LKML" (Konstantin
Ryabitsev):
Make THE REST a fallback when no usable subsystem list matches and
update the submission guide. This avoids routine copies to LKML while
retaining a mailing list for otherwise unmatched patches.
- On local OCFS2 mounts, a failed shared mmap write fault now delivers
SIGBUS instead of hitting BUG_ON(). Journal shutdown is serialized
with inode cleanup, and checkpoint waiters no longer use a queue
embedded in the journal being freed.
- Queued dlmfs lock work now keeps the superblock active through its
final iput(), avoiding a use-after-free during unmount. The OCFS2
locking_state debugfs iterator follows its live cursor instead of
list links copied from a lock resource which may have been freed
during a read-only remount.
- Fault-injection boot parameters no longer call code which allocates
memory and schedules work before slab and workqueues are initialized,
fixing a boot failure.
* tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
MAINTAINERS: DRM DRIVERS AND MISC GPU PATCHES
MAINTAINERS: update Andrea Cervesato's email for LTP
mailmap: update email address for Sai Teja Aluvala
mailmap: add an alias for Alex Elder
mailmap: update entry for Guodong Xu
mailmap: add entries for Ridong Chen
mailmap: add Wang Yibo's work email address
mailmap: add entry for Beat M. Liechti
mailmap: update email address for Naman Jain
mailmap: add entries for Luiz Capitulino
mailmap: add entries for Miaoqing Pan
mailmap: update Mika Westerberg's email address
mailmap: update email address for Bradley Morgan
docs: submitting-patches: make LKML a list of last resort again
get_maintainer: only use THE REST as a fallback
ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails
fault-inject: fix boot failure with fault injection boot parameters
ocfs2: advance locking_state through the live cursor
ocfs2/dlmfs: keep the superblock alive during lock work
ocfs2: serialize inode journal access with shutdown
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get_maintainer.pl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 16b80a700d4a..265245e568c6 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -959,6 +959,15 @@ sub get_maintainers { $tvi = $end + 1; } + # THE REST matches every file, so only fall back to it when no + # other matching section provides a mailing list for this file + # that we would actually output with the current options. + my ($the_rest) = grep { get_section_name($_) eq "THE REST" } keys %hash; + if (defined($the_rest) && + grep { $_ != $the_rest && section_has_list($_) } keys %hash) { + delete $hash{$the_rest}; + } + foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) { add_categories($line, ""); if ($sections) { @@ -1295,6 +1304,40 @@ sub find_ending_index { return $index; } +sub get_section_name { + my ($index) = @_; + + return $typevalue[find_starting_index($index)]; +} + +sub section_has_list { + my ($index) = @_; + + my $start = find_starting_index($index); + my $end = find_ending_index($index); + for (my $i = $start; $i < $end; $i++) { + next if ($typevalue[$i] !~ m/^L:\s*(.*)/); + my $list_additional = ""; + if ($1 =~ m/[^\s]+\s+(.*)$/) { + $list_additional = $1; + } + return 1 if (list_is_selected($list_additional)); + } + return 0; +} + +# Must match the list selection in add_categories() +sub list_is_selected { + my ($list_additional) = @_; + + if ($list_additional =~ m/subscribers-only/) { + return $email_subscriber_list; + } elsif ($list_additional =~ m/moderated/) { + return $email_list && $email_moderated_list; + } + return $email_list; +} + sub get_subsystem_name { my ($index) = @_; |
