[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH2r5muRJqefiMiJwKdUJZp4HMprJYCCRNSzMysCUizikQC+UA@mail.gmail.com>
Date: Fri, 24 Nov 2023 21:22:38 -0600
From: Steve French <smfrench@...il.com>
To: David Howells <dhowells@...hat.com>
Cc: Steve French <sfrench@...ba.org>,
Shyam Prasad N <nspmangalore@...il.com>,
Rohith Surabattula <rohiths.msft@...il.com>,
Jeff Layton <jlayton@...nel.org>, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cifs: Set the file size after doing copychunk_range
updated
On Fri, Nov 24, 2023 at 5:27 PM David Howells <dhowells@...hat.com> wrote:
>
> David Howells <dhowells@...hat.com> wrote:
>
> > + truncate_inode_pages_range(&target_inode->i_data, destoff, len);
>
> That should actually be:
>
> truncate_inode_pages_range(&target_inode->i_data, destoff, destoff + len);
>
> David
>
>
--
Thanks,
Steve
View attachment "0001-cifs-Set-the-file-size-after-doing-copychunk_range.patch" of type "text/x-patch" (1787 bytes)
Powered by blists - more mailing lists