]> git.baikalelectronics.ru Git - kernel.git/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)
commitf7e1ea892bdb14d2e65505891a10f3a4fda0f58a
treefdc7b0b6fa8ab68b5741e412ce3d0682afc22260
parent82ed49face283ae3e33b5544b8015544403963d9
[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