diff options
author | Mark McLoughlin <markmc@redhat.com> | 2006-10-03 08:15:26 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 15:04:14 (GMT) |
commit | e4ff496db72473949ddfe29a37471969d2f1d4ee (patch) | |
tree | fdc7b0b6fa8ab68b5741e412ce3d0682afc22260 /lib/cmdline.c | |
parent | f9cea4f70734f743e0beb55552a9794fa5032645 (diff) | |
download | linux-fsl-qoriq-e4ff496db72473949ddfe29a37471969d2f1d4ee.tar.xz |
[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>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions