From: Eric Dumazet Date: Thu, 31 May 2012 11:39:05 +0000 (+0200) Subject: block: avoid infinite loop in get_task_io_context() X-Git-Tag: v3.5-rc1~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9c708c9fc967e389f85bc735e4c1f65d67334e;p=pandora-kernel.git 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 Cc: Tejun Heo Cc: Andrew Morton Cc: Alan Cox Signed-off-by: Jens Axboe --- Reading git-diff-tree failed