race in fsnotify subsystem causes kernel oops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Chris J Arges | ||
Quantal |
Fix Released
|
Medium
|
Chris J Arges |
Bug Description
This race can be triggered by plugging and unplugging a usb disk. See previous bugs for backtraces.
Related upstream bug: https:/
Previous bug(s):
Originally reported in bug 922906.
After this was properly mainlined it we re-applied in bug 1096137.
However a regression was found in bug 1101666.
This bug aims at fixing the original test case presented in the kernel bug along with the regression test case.
[Test Case]
The attachment lp1110605-
To test original issue:
gcc inotify_test.c -o inotify_test
inotify_test &
./mount_unmount.sh
To test regression:
./regression_
Changed in linux (Ubuntu Precise): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux (Ubuntu Quantal): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
assignee: | Chris J Arges (arges) → nobody |
Test build here: people. canonical. com/~arges/ lp1110605/
http://
I'm testing on my end, before submitting a pull-request.