From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] fs: pass on flags in compat_writev To: Christoph Hellwig , Linus Torvalds Cc: Al Viro , Adhemerval Zanella , linux-fsdevel@vger.kernel.org, stable@vger.kernel.org References: <20170616090824.5460-1-hch@lst.de> From: Jon Derrick Message-ID: Date: Thu, 1 Jun 2017 12:24:33 -0600 MIME-Version: 1.0 In-Reply-To: <20170616090824.5460-1-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Thanks for driving this Acked-by Jon Derrick: On 06/16/2017 03:08 AM, Christoph Hellwig wrote: > Fixes: 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev") > Signed-off-by: Christoph Hellwig > Cc: stable@vger.kernel.org > --- > > I've been trying to get this in through Al multiple times, and now I've > got a report that the glibc test suite hits this issue. Let's get it > into 4.12-rc > > fs/read_write.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/read_write.c b/fs/read_write.c > index 47c1d4484df9..19d4d88fa285 100644 > --- a/fs/read_write.c > +++ b/fs/read_write.c > @@ -1285,7 +1285,7 @@ static size_t compat_writev(struct file *file, > if (!(file->f_mode & FMODE_CAN_WRITE)) > goto out; > > - ret = compat_do_readv_writev(WRITE, file, vec, vlen, pos, 0); > + ret = compat_do_readv_writev(WRITE, file, vec, vlen, pos, flags); > > out: > if (ret > 0) >