Re: [PATCH 16/17] blk-map/bio: remove superflous @len parameter from blk_rq_map_user_iov()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Wednesday, April 1, 2009 - 3:17 pm

Hello,

Boaz Harrosh wrote:

Please see below.


blk_rq_map_user_iov() never had the shorter data len functionality.
It fails requests with -EINVAL if iov_length(iov) != dxfer_len, so a
patch in the previous patchset adds the above iov_shorten() call to
trim iov if dxfer_len is shorter.  In this patch, it gets a bit
simpler as the length parameter isn't necessary.

Thanks.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 04/17] bio: bio.h cleanup, Tejun Heo, (Wed Apr 1, 6:44 am)
[PATCH 05/17] bio: cleanup rw usage, Tejun Heo, (Wed Apr 1, 6:44 am)
[PATCH 07/17] blk-map/bio: rename stuff, Tejun Heo, (Wed Apr 1, 6:44 am)
Re: [PATCH 08/17] bio: reimplement bio_copy_user_iov(), Boaz Harrosh, (Wed Apr 1, 8:50 am)
Re: [PATCH 16/17] blk-map/bio: remove superflous @len para ..., Tejun Heo, (Wed Apr 1, 3:17 pm)
Re: [PATCH 08/17] bio: reimplement bio_copy_user_iov(), Boaz Harrosh, (Thu Apr 2, 12:34 am)
Re: [PATCH 08/17] bio: reimplement bio_copy_user_iov(), Boaz Harrosh, (Thu Apr 2, 1:24 am)
Re: [PATCH 05/17] bio: cleanup rw usage, Boaz Harrosh, (Thu Apr 2, 1:36 am)
Re: [PATCH 05/17] bio: cleanup rw usage, Tejun Heo, (Thu Apr 2, 2:02 am)
Re: [PATCH 05/17] bio: cleanup rw usage, Boaz Harrosh, (Thu Apr 2, 2:07 am)
Re: [PATCH 05/17] bio: cleanup rw usage, Tejun Heo, (Thu Apr 2, 2:13 am)
Re: [PATCH 08/17] bio: reimplement bio_copy_user_iov(), Boaz Harrosh, (Thu Apr 2, 2:54 am)