Skip to content
Commit 07542b83 authored by James Bottomley's avatar James Bottomley
Browse files

This patch fixes in st.c the bug in the signed/unsigned int comparison


reported by Doug Gilbert and fixed by him in sg.c (see [PATCH] sg direct
io/mmap oops). Doug fixed the comparison in sg.c. This fix for st.c does not
touch the comparison but makes both arguments signed to remove the
problem. The new code is adapted from linux/fs/bio.c.

Signed-off-by: default avatarKai Makisara <kai.makisara@kolumbus.fi>

Rejections fixed up and

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 61a7afa2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment