diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-16 11:08:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-06-16 18:40:51 +0900 |
commit | 20223f0f39ea9d31ece08f04ac79f8c4e8d98246 (patch) | |
tree | 182e4af687d00cd4ec25f0f1286f62013d18989b /fs | |
parent | 3bee1970b32d0c9d1ce986df4b4b58e5e8185c80 (diff) | |
download | op-kernel-dev-20223f0f39ea9d31ece08f04ac79f8c4e8d98246.zip op-kernel-dev-20223f0f39ea9d31ece08f04ac79f8c4e8d98246.tar.gz |
fs: pass on flags in compat_writev
Fixes: 793b80ef14af ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/read_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/read_write.c b/fs/read_write.c index 47c1d44..19d4d88 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) |