diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-07-05 14:47:34 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-07-06 03:01:22 +0200 |
commit | 709340a00ad67aea081916582846248e3b18b463 (patch) | |
tree | 667e3af7b065e2dcc2b03683bd9e52d17184aa25 /arch/x86/include/asm/msr-index.h | |
parent | cifs: Do not modify mid entry after submitting I/O in cifs_call_async (diff) | |
download | linux-709340a00ad67aea081916582846248e3b18b463.tar.xz linux-709340a00ad67aea081916582846248e3b18b463.zip |
cifs: set oparms.create_options rather than or'ing in CREATE_OPEN_BACKUP_INTENT
Currently oparms.create_options is uninitialized and the code is logically
or'ing in CREATE_OPEN_BACKUP_INTENT onto a garbage value of
oparms.create_options from the stack. Fix this by just setting the value
rather than or'ing in the setting.
Detected by CoverityScan, CID#1447220 ("Unitialized scale value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
0 files changed, 0 insertions, 0 deletions