From: Eric Paris Date: Tue, 30 Apr 2013 15:01:14 +0000 (-0400) Subject: audit: use spin_lock_irqsave/restore in audit tty code X-Git-Tag: v3.10-rc1~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde02ca858448cf54a4226774dd1481f3bcc455e;p=pandora-kernel.git audit: use spin_lock_irqsave/restore in audit tty code Some of the callers of the audit tty function use spin_lock_irqsave/restore. We were using the forced always enable version, which seems really bad. Since I don't know every one of these code paths well enough, it makes sense to just switch everything to the safe version. Maybe it's a little overzealous, but it's a lot better than an unlucky deadlock when we return to a caller with irq enabled and they expect it to be disabled. Signed-off-by: Eric Paris --- Reading git-diff-tree failed