docs: filesystems: caching/backend-api.rst: fix an object withdrawn API
authorYue Hu <huyue2@coolpad.com>
Thu, 7 Apr 2022 11:02:39 +0000 (19:02 +0800)
committerDavid Howells <dhowells@redhat.com>
Fri, 8 Apr 2022 22:54:37 +0000 (23:54 +0100)
commit5d3d5b9645b53691b2eee7607cf995bcfae46dd0
treec414cce000cb8b07324780ddd04ce74a824ae1da
parentc54eead2a66914a36b4a9ea5bbeb95a768307cba
docs: filesystems: caching/backend-api.rst: fix an object withdrawn API

There's no fscache_are_objects_withdrawn() helper at all to test if
cookie withdrawal is completed currently. The cache backend is using
fscache_wait_for_objects() to wait all objects to be withdrawn.

Signed-off-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://listman.redhat.com/archives/linux-cachefs/2022-April/006705.html
Documentation/filesystems/caching/backend-api.rst