]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Jun 2019 21:05:37 +0000 (17:05 -0400)
commitaa0bfcd939c30617385ffa28682c062d78050eba
treeeab7b4e883e4045c94a24d7a1bdf13b579dc0759
parentc708b1c6de7f996b073bb3296af17f37881a09de
mm: add filemap_fdatawait_range_keep_errors()

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
include/linux/fs.h
mm/filemap.c