target/file: Fix 32-bit highmem breakage for SGL -> iovec mapping
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 5 Dec 2012 11:08:29 +0000 (12:08 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 5 Dec 2012 21:01:44 +0000 (13:01 -0800)
This patch changes vectored file I/O to use kmap + kunmap when mapping
incoming SGL memory -> struct iovec in order to properly support 32-bit
highmem configurations.  This is because an extra bounce buffer may be
required when processing scatterlist pages allocated with GFP_KERNEL.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found