diff options
author | Bob Peterson | 2019-11-13 13:53:42 -0600 |
---|---|---|
committer | Bob Peterson | 2020-02-27 07:53:18 -0600 |
commit | b1676cbb11153b5bf4dd9e6c99869b284fb8160e (patch) | |
tree | 3b251c62d5d8b780319d7004d50d453bf730f0d9 /mm | |
parent | 9ff78289356af640941bbb0dd3f46af2063f0046 (diff) |
gfs2: Withdraw in gfs2_ail1_flush if write_cache_pages fails
Before this patch, function gfs2_ail1_start_one would return any
errors it received from write_cache_pages (except -EBUSY) but it did
not withdraw. Since function gfs2_ail1_flush just checks for the bad
return code and loops, the loop might potentially never end.
This patch adds some logic to allow it to exit the loop and withdraw
properly when errors are received from write_cache_pages.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions