Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2021 00:57:20 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9b8da0026ba3 - stable/13 - targ(4): Remove D_NEEDGIANT.
Message-ID:  <202109200057.18K0vKpK061429@gitrepo.freebsd.org>

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

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

commit 9b8da0026ba398c892c087296030a4cae2d5a338
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-08-21 15:20:54 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2021-09-20 00:57:17 +0000

    targ(4): Remove D_NEEDGIANT.
    
    I don't believe this code needs Giant, if ever needed.
    
    MFC after:      1 month
    
    (cherry picked from commit f3dcedd3de27b1a8f493c8256103e8a7fb93f5a4)
---
 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 b2874f49f13f..dd06ca7d64ba 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?202109200057.18K0vKpK061429>