You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
d250dad64a
commit
4cdc1d1fa5
+1
-1
@@ -114,7 +114,7 @@ static void dec_count(struct io *io, unsigned int region, int error)
|
||||
wake_up_process(io->sleeper);
|
||||
|
||||
else {
|
||||
int r = io->error;
|
||||
unsigned long r = io->error;
|
||||
io_notify_fn fn = io->callback;
|
||||
void *context = io->context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user