Skip to contentSkip to conversation

fs: pass on flags in compat_writev

PATCH In review Christoph Hellwig 2 participants 2 messages Jun 1, 2017 – Jun 16, 2017

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to Christoph Hellwig

Thanks for driving this
Acked-by Jon Derrick: <[email protected]>

Quoted 26 lines · Christoph Hellwig
Fixes 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")

---

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(-)
fs/read_write.c +1 -1
index 47c1d4484df9..19d4d88fa285 100644
@@ -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)
#0 lore raw

PATCH 1/1 fs: pass on flags in compat_writev

Fixes 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")

---

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(-)
fs/read_write.c +1 -1
index 47c1d4484df9..19d4d88fa285 100644
@@ -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)
Signature · 1 line
2.11.0