summaryrefslogtreecommitdiffstats
path: root/crypto/cryptd.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-05-31 13:39:05 +0200
committerJens Axboe <axboe@kernel.dk>2012-05-31 13:39:05 +0200
commit3c9c708c9fc967e389f85bc735e4c1f65d67334e (patch)
tree946eeefd4599bb1adafd87ad8f46d52382935001 /crypto/cryptd.c
parentmtip32xx: Changes to sysfs entries (diff)
downloadlinux-3c9c708c9fc967e389f85bc735e4c1f65d67334e.tar.xz
linux-3c9c708c9fc967e389f85bc735e4c1f65d67334e.zip
block: avoid infinite loop in get_task_io_context()
Calling get_task_io_context() on a exiting task which isn't %current can loop forever. This triggers at boot time on my dev machine. BUG: soft lockup - CPU#3 stuck for 22s ! [mountall.1603] Fix this by making create_task_io_context() returns -EBUSY in this case to break the loop. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tejun Heo <tj@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions