aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/afs/server.c')
-rw-r--r--fs/afs/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/afs/server.c b/fs/afs/server.c
index bde6125c2f22..96bb23b476a2 100644
--- a/fs/afs/server.c
+++ b/fs/afs/server.c
@@ -223,6 +223,8 @@ void afs_put_server(struct afs_server *server)
223 223
224 _enter("%p{%d}", server, atomic_read(&server->usage)); 224 _enter("%p{%d}", server, atomic_read(&server->usage));
225 225
226 _debug("PUT SERVER %d", atomic_read(&server->usage));
227
226 ASSERTCMP(atomic_read(&server->usage), >, 0); 228 ASSERTCMP(atomic_read(&server->usage), >, 0);
227 229
228 if (likely(!atomic_dec_and_test(&server->usage))) { 230 if (likely(!atomic_dec_and_test(&server->usage))) {