Loading include/linux/sunrpc/cache.h +0 −2 Original line number Diff line number Diff line Loading @@ -78,8 +78,6 @@ struct cache_detail { struct hlist_head * hash_table; rwlock_t hash_lock; atomic_t inuse; /* active user-space update or lookup */ char *name; void (*cache_put)(struct kref *); Loading net/sunrpc/cache.c +1 −1 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ void sunrpc_destroy_cache_detail(struct cache_detail *cd) cache_purge(cd); spin_lock(&cache_list_lock); write_lock(&cd->hash_lock); if (cd->entries || atomic_read(&cd->inuse)) { if (cd->entries) { write_unlock(&cd->hash_lock); spin_unlock(&cache_list_lock); goto out; Loading Loading
include/linux/sunrpc/cache.h +0 −2 Original line number Diff line number Diff line Loading @@ -78,8 +78,6 @@ struct cache_detail { struct hlist_head * hash_table; rwlock_t hash_lock; atomic_t inuse; /* active user-space update or lookup */ char *name; void (*cache_put)(struct kref *); Loading
net/sunrpc/cache.c +1 −1 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ void sunrpc_destroy_cache_detail(struct cache_detail *cd) cache_purge(cd); spin_lock(&cache_list_lock); write_lock(&cd->hash_lock); if (cd->entries || atomic_read(&cd->inuse)) { if (cd->entries) { write_unlock(&cd->hash_lock); spin_unlock(&cache_list_lock); goto out; Loading