[Cluster-devel] [PATCH 10/13] fs: factor out a direct_write_fallback helper
Christoph Hellwig
hch at lst.de
Tue May 23 16:03:07 UTC 2023
On Mon, May 22, 2023 at 04:19:38PM +0200, Miklos Szeredi wrote:
> > + ssize_t direct_written, ssize_t buffered_written)
> > +{
> > + struct address_space *mapping = iocb->ki_filp->f_mapping;
> > + loff_t pos = iocb->ki_pos, end;
>
> At this point pos will point after the end of the buffered write (as
> per earlier patches), yes?
Yes. I'll fix the pos and end calculation.
More information about the Cluster-devel
mailing list