fs: pass on flags in compat_writev
Subsystems (2)
PATCH 1/1 fs: pass on flags in compat_writev
Fixes 793b80ef ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by Christoph Hellwig <[email protected]>
---
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
@@ -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
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")Signed-off-by Christoph Hellwig <[email protected]>---
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@@ -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 )