Rohith Surabattula <rohiths.msft@xxxxxxxxx> wrote: > Snippet from cifs_writev: > rc = extract_iter_to_iter(from, ctx->len, &ctx->iter, &ctx->bv); > if (rc < 0) { > kref_put(&ctx->refcount, cifs_aio_ctx_release); > return rc; > } > ctx->npages = rc; > ctx->len = iov_iter_count(&ctx->iter); Bah. ctx->len is 0 at the point of the extraction. That should be: rc = extract_iter_to_iter(from, iov_iter_count(from), &ctx->iter, &ctx->bv); David