We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents effd9c4 + 9517b82 commit b40b69eCopy full SHA for b40b69e
1 file changed
drivers/block/nbd.c
@@ -1024,9 +1024,9 @@ static void recv_work(struct work_struct *work)
1024
nbd_mark_nsock_dead(nbd, nsock, 1);
1025
mutex_unlock(&nsock->tx_lock);
1026
1027
- nbd_config_put(nbd);
1028
atomic_dec(&config->recv_threads);
1029
wake_up(&config->recv_wq);
+ nbd_config_put(nbd);
1030
kfree(args);
1031
}
1032
0 commit comments