git: 35c872422c8c - main - vfs: whack leftover cn_origflags

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Sun, 12 Mar 2023 19:08:02 UTC
The branch main has been updated by mjg:

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

commit 35c872422c8cfb93d645c2f892c80422d902b1bf
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-12 19:06:46 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-12 19:06:46 +0000

    vfs: whack leftover cn_origflags
    
    Unused since 5b5b7e2ca2fa9a24 ("vfs: always retain path buffer after lookup")
    
    Reported by:    dchagin
---
 sys/sys/namei.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index fb709b8713d7..e12d79b19c6e 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -47,7 +47,6 @@ struct componentname {
 	/*
 	 * Arguments to lookup.
 	 */
-	u_int64_t cn_origflags;	/* flags to namei */
 	u_int64_t cn_flags;	/* flags to namei */
 	struct	ucred *cn_cred;	/* credentials */
 	enum nameiop cn_nameiop;	/* namei operation */