aboutsummaryrefslogtreecommitdiffstats
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2017-07-06 11:02:22 +0000
committerJeff Layton <[email protected]>2017-07-06 11:02:22 +0000
commit76341cabbdad65c10a4162e9dfa82a6342afc02f (patch)
tree92413633a5fc6554fecd37842a4bcfd06fde0adb /lib/errseq.c
parentbuffer: set errors in mapping at the time that the error occurs (diff)
downloadkernel-76341cabbdad65c10a4162e9dfa82a6342afc02f.tar.gz
kernel-76341cabbdad65c10a4162e9dfa82a6342afc02f.zip
jbd2: don't clear and reset errors after waiting on writeback
Resetting this flag is almost certainly racy, and will be problematic with some coming changes. Make filemap_fdatawait_keep_errors return int, but not clear the flag(s). Have jbd2 call it instead of filemap_fdatawait and don't attempt to re-set the error flag if it fails. Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions