docs: filesystems: caching/backend-api.rst: correct two relinquish APIs use
authorYue Hu <huyue2@coolpad.com>
Thu, 7 Apr 2022 10:28:32 +0000 (18:28 +0800)
committerDavid Howells <dhowells@redhat.com>
Fri, 8 Apr 2022 22:54:37 +0000 (23:54 +0100)
commitc54eead2a66914a36b4a9ea5bbeb95a768307cba
tree512c07e290f009af3e11ed49ce381da03f654d95
parent7b2f6c306601240635c72caa61f682e74d4591b2
docs: filesystems: caching/backend-api.rst: correct two relinquish APIs use

1. cache backend is using fscache_relinquish_cache() rather than
   fscache_relinquish_cookie() to reset the cache cookie.

2. No fscache_cache_relinquish() helper currently, it should be
   fscache_relinquish_cache().

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/006703.html
Link: https://listman.redhat.com/archives/linux-cachefs/2022-April/006704.html
Documentation/filesystems/caching/backend-api.rst