git: 9b8da0026ba3 - stable/13 - targ(4): Remove D_NEEDGIANT.

Alexander Motin mav at FreeBSD.org
Mon Sep 20 00:57:20 UTC 2021


The branch stable/13 has been updated by mav:

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

commit 9b8da0026ba398c892c087296030a4cae2d5a338
Author:     Alexander Motin <mav at FreeBSD.org>
AuthorDate: 2021-08-21 15:20:54 +0000
Commit:     Alexander Motin <mav at 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,


More information about the dev-commits-src-all mailing list