We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9ca1a commit e21a2f1Copy full SHA for e21a2f1
fs/cachefiles/cache.c
@@ -168,6 +168,8 @@ int cachefiles_add_cache(struct cachefiles_cache *cache)
168
dput(root);
169
error_open_root:
170
cachefiles_end_secure(cache, saved_cred);
171
+ put_cred(cache->cache_cred);
172
+ cache->cache_cred = NULL;
173
error_getsec:
174
fscache_relinquish_cache(cache_cookie);
175
cache->cache = NULL;
fs/cachefiles/daemon.c
@@ -816,6 +816,7 @@ static void cachefiles_daemon_unbind(struct cachefiles_cache *cache)
816
cachefiles_put_directory(cache->graveyard);
817
cachefiles_put_directory(cache->store);
818
mntput(cache->mnt);
819
820
821
kfree(cache->rootdirname);
822
kfree(cache->secctx);
0 commit comments