From f3dcedd3de27b1a8f493c8256103e8a7fb93f5a4 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 21 Aug 2021 11:20:54 -0400 Subject: [PATCH] targ(4): Remove D_NEEDGIANT. I don't believe this code needs Giant, if ever needed. MFC after: 1 month --- sys/cam/scsi/scsi_target.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index b3d0461c1d2..b743fa2fe9c 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -115,7 +115,6 @@ static struct filterops targread_filtops = { static struct cdevsw targ_cdevsw = { .d_version = D_VERSION, - .d_flags = D_NEEDGIANT, .d_open = targopen, .d_read = targread, .d_write = targwrite,