---
name: "filemap_fdatawait"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/filemap_fdatawait"
---

# filemap\_fdatawait(9)

wait for all under-writeback pages to complete

## NAME

filemap\_fdatawait - wait for all under-writeback pages to complete

## SYNOPSIS

**int filemap\_fdatawait(struct address\_space \*** *mapping***);**

## ARGUMENTS

*mapping*

address space structure to wait for

## DESCRIPTION

Walk the list of under-writeback pages of the given address space 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.

## COPYRIGHT
