From: Mark McLoughlin Date: Tue, 3 Oct 2006 08:15:26 +0000 (-0700) Subject: [PATCH] dm snapshot: make read and write exception functions void X-Git-Tag: v2.6.19-rc1~274 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ff496db72473949ddfe29a37471969d2f1d4ee;p=pandora-kernel.git [PATCH] dm snapshot: make read and write exception functions void read_exception() and write_exception() only return an error if supplied with an out-of-range index. If this ever happens it's the result of a bug in the calling code so we handle this with an assertion and remove the error handling in the callers. Signed-off-by: Mark McLoughlin Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed