Re: [PATCH] CIFS: check if pages is null rather than bv for a failed allocation

2017-06-21 Thread Steve French
meged into cifs-2.6.git for-next On Wed, May 17, 2017 at 1:24 PM, Colin King wrote: > From: Colin Ian King > > pages is being allocated however a null check on bv is being used > to see if the allocation failed. Fix this by checking if pages is > null. > > Detected by CoverityScan, CID#1432974 (

Re: [PATCH] CIFS: check if pages is null rather than bv for a failed allocation

2017-05-17 Thread Pavel Shilovsky
2017-05-17 11:24 GMT-07:00 Colin King : > From: Colin Ian King > > pages is being allocated however a null check on bv is being used > to see if the allocation failed. Fix this by checking if pages is > null. > > Detected by CoverityScan, CID#1432974 ("Logically dead code") > > Fixes: ccf7f4088af2

[PATCH] CIFS: check if pages is null rather than bv for a failed allocation

2017-05-17 Thread Colin King
From: Colin Ian King pages is being allocated however a null check on bv is being used to see if the allocation failed. Fix this by checking if pages is null. Detected by CoverityScan, CID#1432974 ("Logically dead code") Fixes: ccf7f4088af2dd ("CIFS: Add asynchronous context to support kernel A