dm io: write error bits form long not int
authorAlasdair G Kergon <agk@redhat.com>
Fri, 28 Mar 2008 21:16:10 +0000 (14:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Mar 2008 21:45:23 +0000 (14:45 -0700)
commit4cdc1d1fa5c5ac14dc21be19832f02fd0b83867e
treea8c93c90dd088b18b9307bb50413478dbc48f5b5
parentd250dad64a154a9f95ec3574e2ffc97d9f61a19c
dm io: write error bits form long not int

write_err is an unsigned long used with set_bit() so should not be passed
around as unsigned int.

http://bugzilla.kernel.org/show_bug.cgi?id=10271

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-io.c
drivers/md/dm-raid1.c
drivers/md/dm-snap.c
drivers/md/kcopyd.c
drivers/md/kcopyd.h