[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200821143837.GG2026@twin.jikos.cz>
Date: Fri, 21 Aug 2020 16:38:37 +0200
From: David Sterba <dsterba@...e.cz>
To: Alex Dewar <alex.dewar90@...il.com>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>,
Goldwyn Rodrigues <rgoldwyn@...e.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: check return value of filemap_fdatawrite_range()
On Fri, Aug 21, 2020 at 01:41:54PM +0100, Alex Dewar wrote:
> In btrfs_dio_imap_begin(), filemap_fdatawrite_range() is called without
> checking the return value. Add a check to catch errors.
>
> Fixes: c0aaf9b7a114f ("btrfs: switch to iomap_dio_rw() for dio")
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Alex Dewar <alex.dewar90@...il.com>
Folded to the patch, thanks.
Powered by blists - more mailing lists