Name

filemap_check_wb_err — has an error occurred since the mark was sampled?

Synopsis

int filemap_check_wb_err (struct address_space * mapping,
 errseq_t since);
 

Arguments

mapping

mapping to check for writeback errors

since

previously-sampled errseq_t

Description

Grab the errseq_t value from the mapping, and see if it has changed since the given value was sampled.

If it has then report the latest error set, otherwise return 0.