svn commit: r361695 - head/sys/sys
Mateusz Guzik
mjg at FreeBSD.org
Mon Jun 1 15:58:23 UTC 2020
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
More information about the svn-src-head
mailing list