]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7928560bf1c43238c92279c0e14d6d4f1f48fe1
tree0c117b4b6eefc0ffd9591ec9f99cc6bd418067df
parent80d888d534ec275ff27f28a222b183816cbad9a3
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