From: Alan Cox Date: Tue, 3 Oct 2006 08:14:33 +0000 (-0700) Subject: [PATCH] ide: Fix crash on repeated reset X-Git-Tag: v2.6.19-rc1~325 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913759ac90a727b86da72efcfb70931f497d1cb7;p=pandora-kernel.git [PATCH] ide: Fix crash on repeated reset Michal Miroslaw reported a problem (bugzilla #7023) where a user initiated reset while the IDE layer was already resetting the channel caused a crash, and provided a rough fix. This is a slightly cleaner version of the fix which tracks the reset state and blocks further reset requests while a reset is in progress. Note this is not a security issue - random end users can't access the ioctl in question anyway. Signed-off-by: Alan Cox Cc: Michal Miroslaw Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed