summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_iblock.h
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>2012-09-23 22:49:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-09-23 22:49:12 -0400
commit50df9fd55e4271e89a7adf3b1172083dd0ca199d (patch)
treef2b72f080a0963ee553385c9e2f2d77a5276e1f4 /drivers/target/target_core_iblock.h
parentbef53b01faeb791e27605cba1a71ba21364cb23e (diff)
ext4: fix crash when accessing /proc/mounts concurrently
The crash was caused by a variable being erronously declared static in token2str(). In addition to /proc/mounts, the problem can also be easily replicated by accessing /proc/fs/ext4/<partition>/options in parallel: $ cat /proc/fs/ext4/<partition>/options > options.txt ... and then running the following command in two different terminals: $ while diff /proc/fs/ext4/<partition>/options options.txt; do true; done This is also the cause of the following a crash while running xfstests #234, as reported in the following bug reports: https://bugs.launchpad.net/bugs/1053019 https://bugzilla.kernel.org/show_bug.cgi?id=47731 Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Brad Figg <brad.figg@canonical.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/target/target_core_iblock.h')
0 files changed, 0 insertions, 0 deletions