git: 5af938fb03d0 - stable/15 - fdescfs: do not change vnode type on VOP_GETATTR()

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 May 2026 00:57:06 UTC
The branch stable/15 has been updated by kib:

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

commit 5af938fb03d004ef97621f4c9319446f2fb8f77c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-03 19:09:15 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-14 00:48: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 58a22b8bdc50..05630ef5e48c 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -469,7 +469,6 @@ fdesc_getattr(struct vop_getattr_args *ap)
 		break;
 	}
 
-	vp->v_type = vap->va_type;
 	return (0);
 }