Skip to content

Commit b40b69e

Browse files
committed
Merge branch 'for-6.19/block' into for-next
* for-6.19/block: nbd: defer config put in recv_work
2 parents effd9c4 + 9517b82 commit b40b69e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/block/nbd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,9 +1024,9 @@ static void recv_work(struct work_struct *work)
10241024
nbd_mark_nsock_dead(nbd, nsock, 1);
10251025
mutex_unlock(&nsock->tx_lock);
10261026

1027-
nbd_config_put(nbd);
10281027
atomic_dec(&config->recv_threads);
10291028
wake_up(&config->recv_wq);
1029+
nbd_config_put(nbd);
10301030
kfree(args);
10311031
}
10321032

0 commit comments

Comments
 (0)