Date: Mon, 1 Jun 2020 15:58:22 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361695 - head/sys/sys Message-ID: <202006011558.051FwMwt080925@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006011558.051FwMwt080925>