[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <491FACC3.1050202@gmail.com>
Date: Sun, 16 Nov 2008 14:16:51 +0900
From: Tejun Heo <htejun@...il.com>
To: Arjan van de Ven <arjan@...radead.org>
CC: Hugh Dickins <hugh@...itas.com>, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, jens.axboe@...cle.com
Subject: Re: [PATCH] Fix kunmap() argument in sg_miter_stop
Arjan van de Ven wrote:
> From 979d181d6199f639ba78c5eadf85857f6a9f3f89 Mon Sep 17 00:00:00 2001
> From: Arjan van de Ven <arjan@...ux.intel.com>
> Date: Sat, 15 Nov 2008 11:23:58 -0800
> Subject: [PATCH] Fix kunmap() argument in sg_miter_stop
>
> kunmap() takes as argument the struct page that orginally got kmap()'d,
> however the sg_miter_stop() function passed it the kernel virtual address
> instead, resulting in weird stuff.
>
> Somehow I ended up fixing this bug by accident while looking for a bug
> in the same area.
>
> Reported-by: kerneloops.org
> CC: htejun@...il.com
>
> Signed-off-by: Arjan van de Ven <arjan@...ux.intel.com>
Argh... talk about confusing interfaces. Thanks a lot.
Acked-by: Tejun Heo <tj@...nel.org>
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists