git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050639e
)
fs: pass on flags in compat_writev
author
Christoph Hellwig
<hch@lst.de>
Fri, 16 Jun 2017 09:08:24 +0000
(11:08 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 24 Jun 2017 05:11:12 +0000
(07:11 +0200)
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
patch
|
blob
|
history
diff --git
a/fs/read_write.c
b/fs/read_write.c
index 190e0d362581a9a87d5cdae2a069e0d7e8991af9..e479e24dcd4c9e417af343d9016b0d4ab016adcf 100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-1232,7
+1232,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)