On 21 February 2018 at 21:56, Dave Chinner wrote:
>
> On Wed, Feb 21, 2018 at 08:41:28PM +, Garry McNulty wrote:
> > If the call to is_sync_kiocb() fails an error is returned without
> > freeing dio. Set the return code and jump to out_free_dio.
> >
> > Detected by
On 21 February 2018 at 21:56, Dave Chinner wrote:
>
> On Wed, Feb 21, 2018 at 08:41:28PM +, Garry McNulty wrote:
> > If the call to is_sync_kiocb() fails an error is returned without
> > freeing dio. Set the return code and jump to out_free_dio.
> >
> > Detected by CoverityScan, CID 1429424
On Wed, Feb 21, 2018 at 08:41:28PM +, Garry McNulty wrote:
> If the call to is_sync_kiocb() fails an error is returned without
> freeing dio. Set the return code and jump to out_free_dio.
>
> Detected by CoverityScan, CID 1429424 ("Resource leak")
Coverity is wrong.
> Signed-off-by: Garry
On Wed, Feb 21, 2018 at 08:41:28PM +, Garry McNulty wrote:
> If the call to is_sync_kiocb() fails an error is returned without
> freeing dio. Set the return code and jump to out_free_dio.
>
> Detected by CoverityScan, CID 1429424 ("Resource leak")
Coverity is wrong.
> Signed-off-by: Garry
If the call to is_sync_kiocb() fails an error is returned without
freeing dio. Set the return code and jump to out_free_dio.
Detected by CoverityScan, CID 1429424 ("Resource leak")
Signed-off-by: Garry McNulty
---
fs/iomap.c | 6 --
1 file changed, 4 insertions(+), 2
If the call to is_sync_kiocb() fails an error is returned without
freeing dio. Set the return code and jump to out_free_dio.
Detected by CoverityScan, CID 1429424 ("Resource leak")
Signed-off-by: Garry McNulty
---
fs/iomap.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff
6 matches
Mail list logo