* [PATCH] fs: pass on flags in compat_writev
@ 2017-05-10 6:37 Christoph Hellwig
2017-05-27 8:14 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2017-05-10 6:37 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, stable
Fixes: 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
---
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)
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] fs: pass on flags in compat_writev
2017-05-10 6:37 [PATCH] fs: pass on flags in compat_writev Christoph Hellwig
@ 2017-05-27 8:14 ` Christoph Hellwig
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2017-05-27 8:14 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: viro, linux-fsdevel, stable
ping? I think this fix is something for 4.12-rc and stable.
And also needed for the series I'm about to send :)
On Wed, May 10, 2017 at 08:37:48AM +0200, Christoph Hellwig wrote:
> Fixes: 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Cc: stable@vger.kernel.org
> ---
> 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)
> --
> 2.11.0
>
---end quoted text---
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] fs: pass on flags in compat_writev
@ 2017-06-16 9:08 Christoph Hellwig
2017-06-01 18:24 ` Jon Derrick
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2017-06-16 9:08 UTC (permalink / raw)
To: Linus Torvalds
Cc: Al Viro, Adhemerval Zanella, Jon Derrick, linux-fsdevel, stable
Fixes: 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
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)
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] fs: pass on flags in compat_writev
2017-06-16 9:08 Christoph Hellwig
@ 2017-06-01 18:24 ` Jon Derrick
0 siblings, 0 replies; 4+ messages in thread
From: Jon Derrick @ 2017-06-01 18:24 UTC (permalink / raw)
To: Christoph Hellwig, Linus Torvalds
Cc: Al Viro, Adhemerval Zanella, linux-fsdevel, stable
Thanks for driving this
Acked-by Jon Derrick: <jonathan.derrick@intel.com>
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 <hch@lst.de>
> 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)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-16 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10 6:37 [PATCH] fs: pass on flags in compat_writev Christoph Hellwig
2017-05-27 8:14 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2017-06-16 9:08 Christoph Hellwig
2017-06-01 18:24 ` Jon Derrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox