Thread (55 messages) 55 messages, 8 authors, 2022-03-02

Re: [PATCH v4 2/6] fs: change ki_complete interface to support 64bit ret2

From: Christoph Hellwig <hch@infradead.org>
Date: 2020-07-26 15:18:29
Also in: io-uring, linux-block, linux-fsdevel, lkml

On Fri, Jul 24, 2020 at 09:19:18PM +0530, Kanchan Joshi wrote:
From: SelvaKumar S <redacted>

kiocb->ki_complete(...,long ret2) - change ret2 to long long.
This becomes handy to return 64bit written-offset with appending write.
Change callers using ki_complete prototype.
There is no need for this at all.  By the time ki_complete is called
ki_pos contains the new offset, and you just have to subtract res from
that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help