Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669205 > unrolled thread

[PATCH 4.11 01/78] fs: pass on flags in compat_writev

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-06-19 17:20 +0200
Last post2017-06-19 17:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.11 01/78] fs: pass on flags in compat_writev Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-19 17:20 +0200

#1669205 — [PATCH 4.11 01/78] fs: pass on flags in compat_writev

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-06-19 17:20 +0200
Subject[PATCH 4.11 01/78] fs: pass on flags in compat_writev
Message-ID<tU6D8-4lE-19@gated-at.bofh.it>
4.11-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Christoph Hellwig <hch@lst.de>

commit 20223f0f39ea9d31ece08f04ac79f8c4e8d98246 upstream.

Fixes: 793b80ef14af ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/read_write.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -1210,7 +1210,7 @@ static size_t compat_writev(struct 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)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web