[PATCH] dm: create error table
authorDavid Teigland <teigland@redhat.com>
Mon, 26 Jun 2006 07:27:33 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:36 +0000 (09:58 -0700)
commitc2ade42dd35466d90aa6fc7cc717f396e165492f
tree245baeabfea43a3b2654adb962e776a877da0059
parent17b2f66f2a39a4e4d1ed456f35ee3bb598e41d35
[PATCH] dm: create error table

Add a library function dm_create_error_table() to create a table that rejects
any I/O sent to a device with EIO.

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-table.c
include/linux/device-mapper.h