]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mm: add filemap_fdatawait_range_keep_errors()
authorRoss Zwisler <zwisler@chromium.org>
Thu, 20 Jun 2019 21:05:37 +0000 (17:05 -0400)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit9a6a10e6e7cf9227804014cb7a6486e6b2f9274d
tree4da79861a05f6943bd8c5702c3445087264fba01
parent91ea4382b4bbbbaeade031f22b75ede8045f16a3
mm: add filemap_fdatawait_range_keep_errors()

BugLink: https://bugs.launchpad.net/bugs/1839036
commit aa0bfcd939c30617385ffa28682c062d78050eba upstream.

In the spirit of filemap_fdatawait_range() and
filemap_fdatawait_keep_errors(), introduce
filemap_fdatawait_range_keep_errors() which both takes a range upon
which to wait and does not clear errors from the address space.

Signed-off-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/linux/fs.h
mm/filemap.c