]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: address trivial coverity warning
authorSteve French <stfrench@microsoft.com>
Thu, 15 Nov 2018 06:33:05 +0000 (00:33 -0600)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Dec 2018 04:38:14 +0000 (22:38 -0600)
commit0d7a0ced66bf988f09a114eadbe92e02e16fa29b
treeebeb0a24494ff55517a016ffc47a7d790d82f84e
parentdfa724a9c9186362451b29444e0035eb7884cae0
cifs: address trivial coverity warning

This is not actually a bug but as Coverity points out we shouldn't
be doing an "|=" on a value which hasn't been set (although technically
it was memset to zero so isn't a bug) and so might as well change
"|=" to "=" in this line

Detected by CoverityScan, CID#728535 ("Unitialized scalar variable")

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/inode.c