Re: [PATCH] fs: kill unused ret2 argument from iocb->ki_complete()

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

 



On 10/20/21 1:11 PM, Jeff Moyer wrote:
> Jens Axboe <axboe@xxxxxxxxx> writes:
> 
>> On 10/20/21 12:41 PM, Jens Axboe wrote:
>>> Working on just changing it to a 64-bit type instead, then we can pass
>>> in both at once with res2 being the upper 32 bits. That'll keep the same
>>> API on the aio side.
>>
>> Here's that as an incremental. Since we can only be passing in 32-bits
>> anyway across 32/64-bit, we can just make it an explicit 64-bit instead.
>> This generates the same code on 64-bit for calling ->ki_complete, and we
>> can trivially ignore the usb gadget issue as we now can pass in both
>> values (and fill them in on the aio side).
> 
> Yeah, I think that should work.

Passed test and allmodconfig sanity check, sent out as v2 :)

-- 
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