summaryrefslogtreecommitdiff
path: root/fs/fscache/cache.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-05-12 09:59:17 +0100
committerDavid Howells <dhowells@redhat.com>2021-08-27 13:34:02 +0100
commit58f386a73f16cea1f78e8466cc5c402eb7f6fcf8 (patch)
tree1998aea551b48a6192001b32992d43ca5e3983d2 /fs/fscache/cache.c
parent6ae9bd8bb037b7c422bafde746f2338a716f6058 (diff)
fscache: Remove the object list procfile
Remove the object list procfile from fscache as objects will become entirely internal to the cache. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> cc: linux-cachefs@redhat.com Link: https://lore.kernel.org/r/162431198332.2908479.5847286163455099669.stgit@warthog.procyon.org.uk/
Diffstat (limited to 'fs/fscache/cache.c')
-rw-r--r--fs/fscache/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fscache/cache.c b/fs/fscache/cache.c
index fcc136361415..8a6ffcac867f 100644
--- a/fs/fscache/cache.c
+++ b/fs/fscache/cache.c
@@ -261,7 +261,6 @@ int fscache_add_cache(struct fscache_cache *cache,
spin_lock(&cache->object_list_lock);
list_add_tail(&ifsdef->cache_link, &cache->object_list);
spin_unlock(&cache->object_list_lock);
- fscache_objlist_add(ifsdef);
/* add the cache's netfs definition index object to the top level index
* cookie as a known backing object */