fscache: Use wrapper fscache_set_cache_state() directly when relinquishing
authorYue Hu <huyue2@coolpad.com>
Fri, 1 Apr 2022 06:37:15 +0000 (14:37 +0800)
committerDavid Howells <dhowells@redhat.com>
Fri, 8 Apr 2022 22:54:37 +0000 (23:54 +0100)
commitb3c958c20a61fb8514fa16e3edcb421703600ee0
tree0c117b4b6eefc0ffd9591ec9f99cc6bd418067df
parent19517e53740ec671c335f05089abe1f0720103c7
fscache: Use wrapper fscache_set_cache_state() directly when relinquishing

We already have the wrapper function to set cache state.

Signed-off-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeffle Xu <jefflexu@linux.alibaba.com>
cc: linux-cachefs@redhat.com
Link: https://listman.redhat.com/archives/linux-cachefs/2022-April/006648.html
fs/fscache/cache.c