From: Jeff Mahoney Date: Mon, 30 Mar 2009 18:02:24 +0000 (-0400) Subject: reiserfs: add locking around error buffer X-Git-Tag: v2.6.30-rc1~615^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78b6513d2881f1a759fb9825a036d926392de084;p=pandora-kernel.git reiserfs: add locking around error buffer The formatting of the error buffer is race prone. It uses static buffers for both formatting and output. While overwriting the error buffer can product garbled output, overwriting the format buffer with incompatible % directives can cause crashes. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed