mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
fuse: fix uninitialized flags in pipe_buffer
Signed-off-by: Miklos Szeredi <[email protected]>
Fixes: d82718e348 ("fuse_dev_splice_read(): switch to add_to_pipe()")
Cc: <[email protected]> # 4.9+
This commit is contained in:
parent
6ba4d2722d
commit
84588a93d0
1 changed files with 1 additions and 0 deletions
|
|
@ -1376,6 +1376,7 @@ static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos,
|
|||
* code can Oops if the buffer persists after module unload.
|
||||
*/
|
||||
bufs[page_nr].ops = &nosteal_pipe_buf_ops;
|
||||
bufs[page_nr].flags = 0;
|
||||
ret = add_to_pipe(pipe, &bufs[page_nr++]);
|
||||
if (unlikely(ret < 0))
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue