git: e71e7dd6176e - stable/14 - fdescfs: do not change vnode type on VOP_GETATTR()

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 May 2026 02:35:19 UTC
The branch stable/14 has been updated by kib:

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

commit e71e7dd6176ebb8e5169e8845f3b7c92c94c5dff
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-03 19:09:15 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-14 02:35:03 +0000

    fdescfs: do not change vnode type on VOP_GETATTR()
    
    PR:     294768
    
    (cherry picked from commit fbecfc4aa028964f972a0457809aa041d415f61b)
---
 sys/fs/fdescfs/fdesc_vnops.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index f4b3eba91ef3..70120eddc947 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -471,7 +471,6 @@ fdesc_getattr(struct vop_getattr_args *ap)
 		break;
 	}
 
-	vp->v_type = vap->va_type;
 	return (0);
 }