From: Andy Grover Date: Thu, 11 Mar 2010 13:50:06 +0000 (+0000) Subject: RDS: Do not call set_page_dirty() with irqs off X-Git-Tag: v2.6.35-rc1~473^2~766 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561c7df63e259203515509a7ad075382a42bff0c;p=pandora-kernel.git RDS: Do not call set_page_dirty() with irqs off set_page_dirty() unconditionally re-enables interrupts, so if we call it with irqs off, they will be on after the call, and that's bad. This patch moves the call after we've re-enabled interrupts in send_drop_to(), so it's safe. Also, add BUG_ONs to let us know if we ever do call set_page_dirty with interrupts off. Signed-off-by: Andy Grover Signed-off-by: David S. Miller --- Reading git-diff-tree failed