target/file: merge fd_do_readv() and fd_do_writev()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 5 Dec 2012 21:09:45 +0000 (13:09 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 5 Dec 2012 21:09:45 +0000 (13:09 -0800)
commit778229af95977a4aca8656143d457401c2bb8f96
tree7b739fabd330d5ac59150d43325a9b719d5630ec
parent40ff2c3b3da35dd3a00ac6722056a59b4b3f2caf
target/file: merge fd_do_readv() and fd_do_writev()

Those two functions are almost identical so merge them. Noticed this
while fixing the highmem in both cases.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_file.c