commit | 45cd5e2d4e632f55af1d6131f33b554c98f8b929 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Wed Sep 14 16:21:28 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 14 18:09:37 2011 -0700 |
tree | 8cc6c469235826606383420663d16e29fbdc4cbd | |
parent | f71f94845e0126884eca8ce57a92e30b189c8e71 [diff] |
um: winch_interrupt() can happen inside of free_winch() ... so set winch->fd to -1 before doing free_irq(), to avoid having winch_interrupt() come from/during the latter and attempt to do reactivate_fd() on something that's already gone. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>