From: Tejun Heo Date: Fri, 9 Jan 2009 10:19:14 +0000 (+0900) Subject: libata: use WARN_ON_ONCE on hot paths X-Git-Tag: v2.6.29-rc1~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efcb3cf7f00c3c424db012380a8a974c2676a3c8;p=pandora-kernel.git libata: use WARN_ON_ONCE on hot paths Convert WARN_ON() on command issue/completion paths to WARN_ON_ONCE() so that libata doesn't spam the machine even when one of those conditions triggers repeatedly. Signed-off-by: Tejun Heo Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed