Author: mjg
Date: Mon Jun  1 15:58:22 2020
New Revision: 361695
URL: https://svnweb.freebsd.org/changeset/base/361695

Log:
  Remove ->f_label from struct file
  
  The field was added in r141137 in 2005 and is unused.
  
  It avoidably grows a struct which is NOFREE and easily gets hundreds of
  thousands of instances.
  
  Reviewed by:  kib
  Differential Revision:        https://reviews.freebsd.org/D25036

Modified:
  head/sys/sys/file.h

Modified: head/sys/sys/file.h
==============================================================================
--- head/sys/sys/file.h Mon Jun  1 15:32:13 2020        (r361694)
+++ head/sys/sys/file.h Mon Jun  1 15:58:22 2020        (r361695)
@@ -200,10 +200,6 @@ struct file {
         *  DFLAG_SEEKABLE specific fields
         */
        off_t           f_offset;
-       /*
-        * Mandatory Access control information.
-        */
-       void            *f_label;       /* Place-holder for MAC label. */
 };
 
 #define        f_cdevpriv      f_vnun.fvn_cdevpriv
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to