Re: [PATCH v2 3/7] block: refactor iov_count_pages() from bio_{copy,map}_user_iov()

From: Christoph Hellwig
Date: Fri Jan 16 2015 - 06:41:51 EST


mm/iov_iter.c already has a iov_iter_npages, although that
one doesn't do an alignment check yet. But it might be worth
to just the iov_iter_alignment similar to how iov_iter_alignment
does it instead of this new function.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/