Re: [PATCH] block: loop: mark bvec as ITER_BVEC_FLAG_NO_REF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	iov_iter_bvec(i, direction, bvec, nr_segs, count);
> +	i->type |= ITER_BVEC_FLAG_NO_REF;
> +}

What about simply providing a iov_iter_bvec_noref in core code and
also using that in io_uring?

Otherwise this looks fine to me.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux