Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 15:22:18 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f3dcedd3de27 - main - targ(4): Remove D_NEEDGIANT.
Message-ID:  <202108211522.17LFMIPr004892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=f3dcedd3de27b1a8f493c8256103e8a7fb93f5a4

commit f3dcedd3de27b1a8f493c8256103e8a7fb93f5a4
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-08-21 15:20:54 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2021-08-21 15:20:54 +0000

    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 b3d0461c1d24..b743fa2fe9ca 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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108211522.17LFMIPr004892>