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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

