diff options
author | Yue Hu <huyue2@coolpad.com> | 2022-04-02 12:47:43 +0800 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-04-08 23:54:37 +0100 |
commit | 19517e53740ec671c335f05089abe1f0720103c7 (patch) | |
tree | adc861f352f06ea6c36168ec03a85bae339d8ecb /fs/fscache/cache.c | |
parent | 2c547f299827c12244d613eb2ee3616d88f56088 (diff) | |
download | lwn-19517e53740ec671c335f05089abe1f0720103c7.tar.gz lwn-19517e53740ec671c335f05089abe1f0720103c7.zip |
fscache: Move fscache_cookies_seq_ops specific code under CONFIG_PROC_FS
fscache_cookies_seq_ops is only used in proc.c that is compiled under
enabled CONFIG_PROC_FS, so move related code under this config. The
same case exsits in internal.h.
Also, make fscache_lru_cookie_timeout static due to no user outside
of cookie.c.
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/006649.html # v1
Diffstat (limited to 'fs/fscache/cache.c')
0 files changed, 0 insertions, 0 deletions