And that they would have started requiring tests for new features and bug fixes.
Alas, that's not the case. There are a few external test suites like the Linux Test Project [1], but nothing that looks very extensive.
The process seems to mostly rely on maintainers giving patches a good look, plus developers and first line users, including hardware manufacturers and corps like IBM or Red Hat, running their own software on kernel pre-releases and reporting the bugs.
I realize that most of Linux is device drivers or code that is tightly coupled to hardware, which is more or less impossible to test without a huge test farm and lot's of manual labor, but it's still surprising to me that they don't do it for the more or less device independent functionality.
This particular bug looks like it might have been caught by a relatively straight-forward swap file test case.