]> err.no Git - linux-2.6/commit
[PATCH] dm snapshot: make read and write exception functions void
authorMark McLoughlin <markmc@redhat.com>
Tue, 3 Oct 2006 08:15:26 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:14 +0000 (08:04 -0700)
commite4ff496db72473949ddfe29a37471969d2f1d4ee
treefdc7b0b6fa8ab68b5741e412ce3d0682afc22260
parentf9cea4f70734f743e0beb55552a9794fa5032645
[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 <markmc@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-exception-store.c