> extern int filemap_check_errors(struct address_space *mapping); > extern void __filemap_set_wb_err(struct address_space *mapping, int err); > +extern int filemap_fdatawrite_wbc(struct address_space *mapping, > + struct writeback_control *wbc); No need for the extern here. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>