fuse: fuse_flush must check mapping->flags for errors