filemap_fdatawait_range — wait for writeback to complete
|struct address_space * mapping,|
struct address_space * mapping
address space structure to wait for
offset in bytes where the range starts
offset in bytes where the range ends (inclusive)
Walk the list of under-writeback pages of the given address space in the given range and wait for all of them. Check error status of the address space and return it.
Since the error status of the address space is cleared by this function, callers are responsible for checking the return value and handling and/or reporting the error.