commit | ccbab0481cec29d7f07947bcb6255f325b88513f | [log] [tgz] |
---|---|---|
author | Max Kellermann <[email protected]> | Mon Feb 21 11:03:13 2022 +0100 |
committer | COS Cherry Picker <[email protected]> | Wed Mar 02 09:28:03 2022 -0800 |
tree | 9bb9503dad8856fc0fa90fbf3d88cedaff305df7 | |
parent | 11c1c98b69dbd1124a497438928911f411a93e85 [diff] |
lib/iov_iter: initialize "flags" in new pipe_buffer commit 9d2231c5d74e13b2a0546fee6737ee4446017903 upstream. The functions copy_page_to_iter_pipe() and push_pipe() can both allocate a new pipe_buffer, but the "flags" member initializer is missing. BUG=b/221946805 TEST=presubmit RELEASE_NOTE=BugFix cos-patch: bug Fixes: 241699cd72a8 ("new iov_iter flavour: pipe-backed") To: Alexander Viro <[email protected]> To: [email protected] To: [email protected] Cc: [email protected] Signed-off-by: Max Kellermann <[email protected]> Signed-off-by: Al Viro <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Change-Id: Ief3118a69270028071234fc163073becdb31952a Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/29964 Reviewed-by: Vaibhav Rustagi <[email protected]> Tested-by: Cusky Presubmit Bot <[email protected]> Main-Branch-Verified: Cusky Presubmit Bot <[email protected]>