Messages in this thread | | | Date | Fri, 21 Aug 2020 16:38:37 +0200 | From | David Sterba <> | 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@gmail.com>
Folded to the patch, thanks.
| |