Re: [PATCH] block: Fix the bio.bi_opf comment

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

 



On Wed, 11 May 2022 16:51:52 -0700, Bart Van Assche wrote:
> Commit ef295ecf090d modified the Linux kernel such that the bottom bits
> of the bi_opf member contain the operation instead of the topmost bits.
> That commit did not update the comment next to bi_opf. Hence this patch.
> 
> From commit ef295ecf090d:
> -#define bio_op(bio)    ((bio)->bi_opf >> BIO_OP_SHIFT)
> +#define bio_op(bio)    ((bio)->bi_opf & REQ_OP_MASK)
> 
> [...]

Applied, thanks!

[1/1] block: Fix the bio.bi_opf comment
      commit: 5d2ae14276e698c76fa0c8ce870103f343b38263

Best regards,
-- 
Jens Axboe





[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