The branch main has been updated by mav:

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

commit f3dcedd3de27b1a8f493c8256103e8a7fb93f5a4
Author:     Alexander Motin <[email protected]>
AuthorDate: 2021-08-21 15:20:54 +0000
Commit:     Alexander Motin <[email protected]>
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,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to